Make copying resources to the doecker image more robust.
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Manuel Friedli 2026-01-24 01:40:07 +01:00
parent 287b70513a
commit 1ee2b68471
Signed by: manuel
GPG key ID: 41D08ABA75634DA1
2 changed files with 2 additions and 3 deletions

View file

@ -1,8 +1,6 @@
FROM eclipse-temurin:25-jre-alpine FROM eclipse-temurin:25-jre-alpine
COPY target/maze-server-*.jar /app/ COPY target/maze-server-shaded.jar /app/app.jar
RUN rm /app/*-sources.jar /app/*-javadoc.jar
RUN mv /app/*.jar /app/app.jar
CMD java \ CMD java \
-Dfritteli.maze.server.host=0.0.0.0 \ -Dfritteli.maze.server.host=0.0.0.0 \

View file

@ -121,6 +121,7 @@
</excludes> </excludes>
</filter> </filter>
</filters> </filters>
<finalName>maze-server-shaded</finalName>
</configuration> </configuration>
<executions> <executions>
<execution> <execution>