Try docker fix, again.
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
460907bd01
commit
ab5ccfdae6
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue