Update Dockerfile2

This commit is contained in:
Anthony Stirling 2023-12-26 18:07:27 +00:00 committed by GitHub
parent c7158ab969
commit 5005f751a1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -45,7 +45,7 @@ COPY src/main/resources/static/fonts/*.ttf /usr/share/fonts/opentype/noto/
COPY src/main/resources/static/fonts/*.otf /usr/share/fonts/opentype/noto/
# Copy the application JAR file from the download stage
COPY --from=downloader /downloader/*.jar /app.jar
COPY --from=downloader /downloader/Stirling-PDF.jar /app.jar
# Set font cache and permissions
RUN fc-cache -f -v && chmod +x /scripts/*