subjectid commited on
Commit
27cf076
·
verified ·
1 Parent(s): 31eeb0e

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -2
Dockerfile CHANGED
@@ -6,8 +6,7 @@ RUN --mount=type=secret,id=TOKEN,target=/run/secrets/TOKEN \
6
  WORKDIR /app/target
7
  RUN chmod +x ./gradlew
8
  RUN ./gradlew bootJar
9
- FROM mongo 8.0
10
-
11
  # Install Java 21 (using Debian/Ubuntu base of the Mongo image)
12
  RUN apt-get update && apt-get install -y \
13
  openjdk-21-jdk \
 
6
  WORKDIR /app/target
7
  RUN chmod +x ./gradlew
8
  RUN ./gradlew bootJar
9
+ FROM mongo 8.0 AS Runner
 
10
  # Install Java 21 (using Debian/Ubuntu base of the Mongo image)
11
  RUN apt-get update && apt-get install -y \
12
  openjdk-21-jdk \