Skip to content

Commit

Permalink
Updated Dockerfile to be consistent with GCHQ version.
Browse files Browse the repository at this point in the history
  • Loading branch information
dgoldenberg4143 committed Sep 26, 2024
1 parent fdcc13c commit 6c96c05
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,4 @@ src/node/index.mjs
**/*.DS_Store
tests/browser/output/*
.node-version
Dockerfile
build.sh
12 changes: 9 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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/

0 comments on commit 6c96c05

Please sign in to comment.