maze-server/docker/Dockerfile

13 lines
306 B
Docker
Raw Permalink Normal View History

2024-05-18 02:20:31 +02:00
FROM eclipse-temurin:21-jre
2023-03-25 08:40:13 +01:00
COPY target/maze-server-*.jar /app/
2023-04-09 00:24:01 +02:00
RUN rm /app/*-sources.jar
RUN mv /app/*.jar /app/app.jar
2023-03-25 08:40:13 +01:00
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