Files
Stirling-PDF/Dockerfile
T

25 lines
538 B
Docker
Raw Normal View History

2023-03-20 21:55:11 +00:00
# Build jbig2enc in a separate stage
FROM frooodle/stirling-pdf-base:beta2
2023-04-26 13:18:24 +01:00
# Create scripts folder and copy local scripts
RUN mkdir /scripts
COPY ./scripts/* /scripts/
2023-03-20 21:55:11 +00:00
# Copy the application JAR file
2023-01-27 18:23:40 +00:00
COPY build/libs/*.jar app.jar
2023-03-20 21:55:11 +00:00
# Expose the application port
2023-01-27 18:23:40 +00:00
EXPOSE 8080
2023-03-20 21:55:11 +00:00
# Set environment variables
2023-04-02 11:51:07 +01:00
ENV APP_HOME_NAME="Stirling PDF"
#ENV APP_HOME_DESCRIPTION="Personal PDF Website!"
#ENV APP_NAVBAR_NAME="Stirling PDF"
2023-03-20 21:55:11 +00:00
# Run the application
ENTRYPOINT ["/scripts/init.sh"]
CMD ["java", "-jar", "/app.jar"]
2023-03-20 21:55:11 +00:00