fix Dockerfile
Some checks failed
Deploy to Dokku / docker (ubuntu-latest) (push) Failing after 28s

This commit is contained in:
Lee 2024-07-23 12:36:31 +01:00
parent 5fb7c77d70
commit 0f0f90ee3c

@ -17,11 +17,11 @@ FROM eclipse-temurin:17.0.11_9-jre-focal
WORKDIR /home/container WORKDIR /home/container
# Copy the built jar file from the builder stage # Copy the built jar file from the builder stage
COPY --from=builder /home/container/target/YetAnotherBeatSaberTracker.jar . COPY --from=builder /home/container/target/YetAnotherBeatSaberTracker-1.0.jar .
# Export the port # Export the port
ENV PORT=7500 ENV PORT=7500
EXPOSE $PORT EXPOSE $PORT
# Run the jar file # Run the jar file
CMD java -jar YetAnotherBeatSaberTracker.jar -Djava.awt.headless=true CMD java -jar YetAnotherBeatSaberTracker-1.0.jar -Djava.awt.headless=true