maze-server/docker/Dockerfile
Manuel Friedli c4d707d64a
Some checks failed
continuous-integration/drone/push Build is failing
Very simple way to specify the algorithm to use to generate mazes.
2024-12-14 04:50:30 +01:00

12 lines
306 B
Docker

FROM eclipse-temurin:21-jre
COPY target/maze-server-*.jar /app/
RUN rm /app/*-sources.jar
RUN mv /app/*.jar /app/app.jar
CMD java \
-Dfritteli.maze.server.host=0.0.0.0 \
-Dfritteli.maze.server.port=80 \
-Dfritteli.maze.maxheight=256 \
-Dfritteli.maze.maxwidth=256 \
-jar /app/app.jar