mirror of
https://github.com/gchq/CyberChef.git
synced 2025-04-22 07:46:16 -04:00
11 lines
224 B
Docker
11 lines
224 B
Docker
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/
|