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 8b0b055 commit 161fde4Copy full SHA for 161fde4
2 files changed
backend/Dockerfile
@@ -1,7 +1,10 @@
1
-FROM eclipse-temurin:22 AS build
+# syntax=docker/dockerfile:1.20
2
+
3
+FROM --platform=$BUILDPLATFORM eclipse-temurin:22 AS build
4
5
WORKDIR /build
6
COPY . .
7
8
RUN ./gradlew clean build
9
10
FROM eclipse-temurin:22-jre AS deploy
frontend/Dockerfile
@@ -1,11 +1,14 @@
-FROM node:22-alpine AS build
+FROM --platform=$BUILDPLATFORM node:24-alpine AS build
WORKDIR /app
-RUN npm install
+RUN npm ci
RUN npm run build
-FROM node:22-alpine AS deploy
11
+FROM node:24-alpine AS deploy
12
13
14
COPY --from=build /app/.output/ /app
0 commit comments