Update Dockerfile with platform
This commit is contained in:
parent
6d1b1cc163
commit
04a0a1cbf7
@ -1,9 +1,9 @@
|
||||
FROM node:18-alpine AS build
|
||||
FROM --platform=${PLATFORM} node:18-alpine AS build
|
||||
|
||||
COPY . .
|
||||
RUN npm ci
|
||||
RUN npm run build
|
||||
|
||||
FROM nginx:1.25-alpine3.18 AS cyberchef
|
||||
FROM --platform=${PLATFORM} nginx:1.25-alpine3.18 AS cyberchef
|
||||
|
||||
COPY --from=build ./build/prod /usr/share/nginx/html/
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user