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
|
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 \
|
||||||
|
|
|
||||||
1
pom.xml
1
pom.xml
|
|
@ -121,6 +121,7 @@
|
||||||
</excludes>
|
</excludes>
|
||||||
</filter>
|
</filter>
|
||||||
</filters>
|
</filters>
|
||||||
|
<finalName>maze-server-shaded</finalName>
|
||||||
</configuration>
|
</configuration>
|
||||||
<executions>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue