pls work
All checks were successful
Deploy to Dokku / docker (ubuntu-latest) (push) Successful in 38s

This commit is contained in:
Lee
2024-04-29 06:45:30 +01:00
parent a9f3f74880
commit 123b01d1d0
3 changed files with 11 additions and 4 deletions

View File

@ -25,9 +25,5 @@ WORKDIR /home/container
# Copy the built jar file from the builder stage
COPY --from=builder /home/container/target/PIA-Servers.jar .
# Make port 80 available to the world outside this container
EXPOSE 80
ENV PORT=80
# Run the jar file
CMD java -jar PIA-Servers.jar -Djava.awt.headless=true