Try docker fix, again.
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Manuel Friedli 2023-04-09 00:24:01 +02:00
parent 460907bd01
commit ab5ccfdae6

View file

@ -1,5 +1,7 @@
FROM openjdk:17-slim FROM openjdk:17-slim
COPY target/labyrinth-server-*[!sources].jar /app/app.jar COPY target/labyrinth-server-*.jar /app/
RUN rm /app/*-sources.jar
RUN mv /app/*.jar /app/app.jar
CMD java -Dfritteli.labyrinth.server.host=0.0.0.0 -Dfritteli.labyrinth.server.port=80 -jar /app/app.jar CMD java -Dfritteli.labyrinth.server.host=0.0.0.0 -Dfritteli.labyrinth.server.port=80 -jar /app/app.jar