Skip to content

Commit 8f3495b

Browse files
committed
fix dockerfile
1 parent c3a6e92 commit 8f3495b

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Dockerfile

+6
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,12 @@ RUN java -Djarmode=layertools -jar application.jar extract
1818
#COPY --chown=spring:spring --from=builder spring-boot-loader/ ./
1919
#COPY --chown=spring:spring --from=builder application/ ./
2020

21+
COPY --chown=spring:spring dependencies/ ./
22+
COPY --chown=spring:spring snapshot-dependencies/ ./
23+
RUN true
24+
COPY --chown=spring:spring spring-boot-loader ./
25+
COPY --chown=spring:spring application/ ./
26+
2127
# https://github.com/microsoft/ApplicationInsights-Java/releases
2228
ADD --chown=spring:spring https://github.com/microsoft/ApplicationInsights-Java/releases/download/3.4.19/applicationinsights-agent-3.4.19.jar /applicationinsights-agent.jar
2329
COPY --chown=spring:spring docker/applicationinsights.json ./applicationinsights.json

0 commit comments

Comments
 (0)