Skip to content

Commit

Permalink
Merge pull request #602 from Antiarchitect/set-file-encoding
Browse files Browse the repository at this point in the history
Set java file.encoding to support non-latin customizations
  • Loading branch information
Frooodle authored Dec 29, 2023
2 parents 7f805d1 + a43e13c commit 27e8335
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,4 @@ EXPOSE 8080
# Set user and run command
##USER stirlingpdfuser
ENTRYPOINT ["/scripts/init.sh"]
CMD ["java", "-jar", "/app.jar"]
CMD ["java", "-Dfile.encoding=UTF-8", "-jar", "/app.jar"]
2 changes: 1 addition & 1 deletion Dockerfile-lite
Original file line number Diff line number Diff line change
Expand Up @@ -60,4 +60,4 @@ ENV DOCKER_ENABLE_SECURITY=false
# Run the application
#USER stirlingpdfuser
ENTRYPOINT ["/scripts/init-without-ocr.sh"]
CMD ["java", "-jar", "/app.jar"]
CMD ["java", "-Dfile.encoding=UTF-8", "-jar", "/app.jar"]
2 changes: 1 addition & 1 deletion Dockerfile-ultra-lite
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,4 @@ ENV ENDPOINTS_GROUPS_TO_REMOVE=CLI
ENTRYPOINT ["/scripts/init-without-ocr.sh"]

# Run the application
CMD ["java", "-jar", "/app.jar"]
CMD ["java", "-Dfile.encoding=UTF-8", "-jar", "/app.jar"]

0 comments on commit 27e8335

Please sign in to comment.