Skip to content

Commit

Permalink
Remove warnings in Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
vicziani committed Aug 20, 2024
1 parent 8b27444 commit 0df6209
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
- Use constructor injection in `LearnWebservicesApp`
- Register `CorsFilter` directly without `FilterRegistrationBean`
- Use `ForwardedHeaderFilter` instead of configuring `ServletRegistrationBean`
- Remove warnings from `Dockerfile`

## [3.0.0]

Expand Down
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
FROM eclipse-temurin:17 as builder
WORKDIR application
FROM eclipse-temurin:17 AS builder
WORKDIR /application
COPY target/*.jar application.jar
RUN java -Djarmode=layertools -jar application.jar extract

FROM eclipse-temurin:17
WORKDIR application
WORKDIR /application
COPY --from=builder application/dependencies/ ./
COPY --from=builder application/spring-boot-loader/ ./
COPY --from=builder application/snapshot-dependencies/ ./
Expand Down

0 comments on commit 0df6209

Please sign in to comment.