Updated Dockerfile to be consistent with GCHQ version.
This commit is contained in:
parent
fdcc13c3a2
commit
6c96c05175
1
.gitignore
vendored
1
.gitignore
vendored
@ -13,5 +13,4 @@ src/node/index.mjs
|
||||
**/*.DS_Store
|
||||
tests/browser/output/*
|
||||
.node-version
|
||||
Dockerfile
|
||||
build.sh
|
||||
|
||||
12
Dockerfile
12
Dockerfile
@ -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/
|
||||
Loading…
x
Reference in New Issue
Block a user