diff --git a/docker/Dockerfile b/docker/Dockerfile index 820c007..df53dcb 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -1,5 +1,7 @@ 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