mirror of
https://github.com/gchq/CyberChef.git
synced 2025-04-20 14:56:19 -04:00
Updated Dockerfile to be consistent with GCHQ version.
This commit is contained in:
parent
fdcc13c3a2
commit
6c96c05175
2 changed files with 9 additions and 4 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -13,5 +13,4 @@ src/node/index.mjs
|
||||||
**/*.DS_Store
|
**/*.DS_Store
|
||||||
tests/browser/output/*
|
tests/browser/output/*
|
||||||
.node-version
|
.node-version
|
||||||
Dockerfile
|
|
||||||
build.sh
|
build.sh
|
||||||
|
|
12
Dockerfile
12
Dockerfile
|
@ -1,3 +1,9 @@
|
||||||
FROM nginx:latest
|
FROM node:18-alpine AS build
|
||||||
LABEL maintainer='David Goldenberg'
|
|
||||||
COPY ../build/prod /usr/share/nginx/html
|
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…
Add table
Add a link
Reference in a new issue