Stirling-PDF/Dockerfile

25 lines
538 B
Text
Raw Normal View History

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