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

@@ -7,8 +7,11 @@ COPY build/libs/*.jar app.jar
# Expose the application port
EXPOSE 8080
# Set environment variables
ENV GROUPS_TO_REMOVE=CLI
ENV ENABLE_SECURITY=false
# Run the application
CMD ["java", "-jar", "/app.jar"]