Skip to content

Commit

Permalink
Update eclipse-temurin Docker tag
Browse files Browse the repository at this point in the history
  • Loading branch information
renovate[bot] authored Oct 24, 2024
1 parent 1df9c55 commit 50656a7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
# syntax = docker/dockerfile:1.10

FROM eclipse-temurin:21.0.4_7-jdk-alpine
FROM eclipse-temurin:21.0.5_11-jdk-alpine
RUN apk add --update npm
WORKDIR /app
COPY . .
RUN --mount=type=secret,id=ACCESS_KEYS,dst=ACCESS_KEYS.yaml cp ACCESS_KEYS.yaml src/main/resources/application.yaml
RUN cd frontend && npm ci && npm run build
RUN chmod +x gradlew && ./gradlew -PcopyFrontend build

FROM eclipse-temurin:21.0.4_7-jre-alpine
FROM eclipse-temurin:21.0.5_11-jre-alpine
WORKDIR /app
COPY --from=0 /app/build/libs/polybacs-0.0.1-SNAPSHOT.jar app.jar
ENTRYPOINT ["java","-jar","app.jar"]

0 comments on commit 50656a7

Please sign in to comment.