Skip to content

Commit

Permalink
Updated Dockerfile to java 17
Browse files Browse the repository at this point in the history
  • Loading branch information
UnAfraid committed Apr 10, 2024
1 parent 360c359 commit f6beed2
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 openjdk:11-jdk-slim as builder
FROM openjdk:17-jdk-slim as builder
ENV PROJECT_NAME=ExampleTelegramBot

ENV GRADLE_OPTS="-Dorg.gradle.daemon=false"
Expand All @@ -10,7 +10,7 @@ COPY . .

RUN ./gradlew clean installDist

FROM openjdk:11-jre-slim
FROM eclipse-temurin:17-jre-alpine
ENV PROJECT_NAME=ExampleTelegramBot

WORKDIR /app
Expand Down

0 comments on commit f6beed2

Please sign in to comment.