This commit is contained in:
Lee
2024-04-29 06:57:24 +01:00
parent e350b039d2
commit 2789603657
2 changed files with 15 additions and 5 deletions

View File

@ -25,5 +25,8 @@ WORKDIR /home/container
# Copy the built jar file from the builder stage
COPY --from=builder /home/container/target/PIA-Servers.jar .
# Copy the old servers.json file
COPY --from=builder /home/container/servers.json .
# Run the jar file
CMD java -jar PIA-Servers.jar -Djava.awt.headless=true