maze-server/docker/Dockerfile

8 lines
225 B
Docker
Raw Normal View History

2023-04-01 00:21:20 +02:00
FROM openjdk:17-slim
2023-03-25 08:40:13 +01:00
2023-04-09 00:24:01 +02:00
COPY target/labyrinth-server-*.jar /app/
RUN rm /app/*-sources.jar
RUN mv /app/*.jar /app/app.jar
2023-03-25 08:40:13 +01:00
CMD java -Dfritteli.labyrinth.server.host=0.0.0.0 -Dfritteli.labyrinth.server.port=80 -jar /app/app.jar