We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e141d10 commit 7e872e5Copy full SHA for 7e872e5
2 files changed
backend/Dockerfile
@@ -4,7 +4,8 @@ COPY pom.xml .
4
COPY src ./src
5
RUN mvn clean install -DskipTests
6
7
-FROM openjdk:21 AS runner
+FROM alpine:3.22 AS runner
8
+RUN apk update && apk add --upgrade curl && apk --no-cache add openjdk21
9
WORKDIR /app
10
EXPOSE 8080
11
COPY --from=builder /app/target/*.jar app.jar
frontend/Dockerfile
@@ -5,7 +5,7 @@ RUN npm ci
COPY . .
RUN npm run build -- --output-path=./dist/ --configuration=production
-FROM nginx:alpine AS runner
+FROM nginx:1.29.1-alpine AS runner
COPY nginx.conf /etc/nginx/
COPY --from=builder /app/dist/browser /usr/share/nginx/html
EXPOSE 4200
0 commit comments