Updated Dockerfile to be consistent with GCHQ version.

This commit is contained in:
David C Goldenberg 2024-09-26 09:00:41 -04:00
parent fdcc13c3a2
commit 6c96c05175
2 changed files with 9 additions and 4 deletions

View file

@ -1,3 +1,9 @@
FROM nginx:latest
LABEL maintainer='David Goldenberg'
COPY ../build/prod /usr/share/nginx/html
FROM node:18-alpine AS build
COPY . .
RUN npm ci
RUN npm run build
FROM nginx:1.25-alpine3.18 AS cyberchef
COPY --from=build ./build/prod /usr/share/nginx/html/