Update Dockerfile2

This commit is contained in:
Anthony Stirling 2023-12-26 19:14:45 +00:00 committed by GitHub
parent 1e2d884e93
commit 748c2813eb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -56,8 +56,8 @@ RUN mkdir -p /scripts /usr/share/fonts/opentype/noto /usr/share/tesseract-ocr /c
# Copy the already-converted scripts from the dos2unix stage
COPY --from=dos2unix-converter /dos2unix-scripts/ /scripts/
# Copy necessary files
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 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/Stirling-PDF.jar /app.jar