revert dockerfile

This commit is contained in:
Rahul Jain 2024-09-24 13:48:07 +00:00 committed by GitHub
parent 1b3c929a0f
commit cf86fc7dff
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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