Skip to content

Commit 0df6209

Browse files
committed
Remove warnings in Dockerfile
1 parent 8b27444 commit 0df6209

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
- Use constructor injection in `LearnWebservicesApp`
66
- Register `CorsFilter` directly without `FilterRegistrationBean`
77
- Use `ForwardedHeaderFilter` instead of configuring `ServletRegistrationBean`
8+
- Remove warnings from `Dockerfile`
89

910
## [3.0.0]
1011

Dockerfile

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
FROM eclipse-temurin:17 as builder
2-
WORKDIR application
1+
FROM eclipse-temurin:17 AS builder
2+
WORKDIR /application
33
COPY target/*.jar application.jar
44
RUN java -Djarmode=layertools -jar application.jar extract
55

66
FROM eclipse-temurin:17
7-
WORKDIR application
7+
WORKDIR /application
88
COPY --from=builder application/dependencies/ ./
99
COPY --from=builder application/spring-boot-loader/ ./
1010
COPY --from=builder application/snapshot-dependencies/ ./

0 commit comments

Comments
 (0)