This commit is contained in:
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
|
Reference in New Issue
Block a user