-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This commit moves the application to a Docker image to streamline the deployment process. By utilizing a Docker image, the application can be easily packaged and distributed across different environments, ensuring consistency and ease of deployment. The changes include: - Added .dockerignore file to specify files to be excluded from the Docker build - Modified .github/workflows/release.yml to build the application using Docker - Updated the Dockerfile to include necessary dependencies and instructions for building the application within the Docker image - Adjusted the Makefile to reference files within the Docker image for building the application
- Loading branch information
Showing
4 changed files
with
29 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
*.html | ||
*.zip | ||
*.SQLite3 | ||
*.db | ||
.git/ | ||
.github/ | ||
README.md | ||
shell.nix | ||
LICENSE | ||
Dockerfile |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,10 @@ | ||
FROM alpine:3.19.1 | ||
ADD https://www.princexml.com/download/prince-15.3-r0-alpine3.19-x86_64.apk /tmp/prince.apk | ||
RUN apk add --allow-untrusted /tmp/prince.apk && rm /tmp/prince.apk | ||
ENTRYPOINT ["prince"] | ||
RUN apk update && \ | ||
apk add --allow-untrusted /tmp/prince.apk && \ | ||
apk add --no-cache curl ghostscript unzip make sed sqlite && \ | ||
rm /tmp/prince.apk && \ | ||
mkdir /app | ||
COPY . /app | ||
WORKDIR /data | ||
ENTRYPOINT ["make", "-f", "/app/Makefile"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters