docker file testing

This commit is contained in:
Anthony Stirling
2023-08-27 13:45:37 +01:00
parent 1d60433fcf
commit fb66717b43
3 changed files with 22 additions and 7 deletions

View File

@@ -13,11 +13,14 @@ RUN apt-get update && \
# Copy the application JAR file
COPY build/libs/*.jar app.jar
# Expose the application port
EXPOSE 8080
# Set environment variables
ENV GROUPS_TO_REMOVE=Python,OpenCV,OCRmyPDF
ENV ENABLE_SECURITY=false
# Run the application
CMD ["java", "-jar", "/app.jar"]