Make copying resources to the doecker image more robust.
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
287b70513a
commit
1ee2b68471
2 changed files with 2 additions and 3 deletions
|
|
@ -1,8 +1,6 @@
|
|||
FROM eclipse-temurin:25-jre-alpine
|
||||
|
||||
COPY target/maze-server-*.jar /app/
|
||||
RUN rm /app/*-sources.jar /app/*-javadoc.jar
|
||||
RUN mv /app/*.jar /app/app.jar
|
||||
COPY target/maze-server-shaded.jar /app/app.jar
|
||||
|
||||
CMD java \
|
||||
-Dfritteli.maze.server.host=0.0.0.0 \
|
||||
|
|
|
|||
1
pom.xml
1
pom.xml
|
|
@ -121,6 +121,7 @@
|
|||
</excludes>
|
||||
</filter>
|
||||
</filters>
|
||||
<finalName>maze-server-shaded</finalName>
|
||||
</configuration>
|
||||
<executions>
|
||||
<execution>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue