File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -6,20 +6,18 @@ WORKDIR /app
66# Image defaults to /project; copy controlled by .dockerignore
77COPY --chown=quarkus:quarkus . ./
88RUN ./mvnw package -DskipTests
9+ RUN tree -d
910
1011
11- FROM eclipse-temurin:21-jdk as deploy
12+ FROM eclipse-temurin:21-jdk AS deploy
1213
1314ENV LANGUAGE='en_US:en'
1415
1516RUN mkdir /deployments
1617
1718
1819# We make four distinct layers so if there are application changes the library layers can be re-used
19- COPY --chown=185 --from=build /app/target/lib/ /deployments/lib/
2020COPY --chown=185 --from=build /app/target/*.jar /deployments/app.jar
21- COPY --chown=185 --from=build /app/target/app/ /deployments/app/
22- COPY --chown=185 --from=build /app/target/quarkus/ /deployments/quarkus/
2321
2422EXPOSE 3000
2523HEALTHCHECK --interval=300s --timeout=3s CMD curl -f http://localhost:3000/ || exit 1
You can’t perform that action at this time.
0 commit comments