ARG PLATFORM FROM --platform=${PLATFORM} node:18-alpine AS build COPY . . RUN npm ci RUN npm run build FROM --platform=${PLATFORM} nginx:1.25-alpine3.18 AS cyberchef COPY --from=build ./build/prod /usr/share/nginx/html/