Skip to content

Commit

Permalink
feat: upgrade dockerfile jdk to 21
Browse files Browse the repository at this point in the history
  • Loading branch information
FerroEduardo committed Dec 18, 2023
1 parent fa68906 commit eaa6098
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,4 +1,4 @@
FROM docker.io/eclipse-temurin:17-jdk-alpine as builder
FROM docker.io/eclipse-temurin:21-jdk-alpine as builder

WORKDIR /app
ADD . /tmp
Expand All @@ -11,7 +11,7 @@ RUN cd /tmp && \
mv build/libs/CapivaraBot.jar /app && \
rm -rf /tmp/*

FROM docker.io/eclipse-temurin:17-jre-alpine
FROM docker.io/eclipse-temurin:21-jre-alpine

WORKDIR /app
COPY --from=builder /app .a
Expand Down

0 comments on commit eaa6098

Please sign in to comment.