From ab5ccfdae621c8a696f5e7a238bcbdcd9e7c37bd Mon Sep 17 00:00:00 2001 From: Manuel Friedli Date: Sun, 9 Apr 2023 00:24:01 +0200 Subject: [PATCH] Try docker fix, again. --- docker/Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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