Updated git ignore and Dockerfile. Tested builds.

This commit is contained in:
David C Goldenberg 2024-09-25 21:49:06 -04:00
parent 64d3aeb7f7
commit fdcc13c3a2
2 changed files with 5 additions and 9 deletions

2
.gitignore vendored
View file

@ -13,3 +13,5 @@ src/node/index.mjs
**/*.DS_Store
tests/browser/output/*
.node-version
Dockerfile
build.sh

View file

@ -1,9 +1,3 @@
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/
FROM nginx:latest
LABEL maintainer='David Goldenberg'
COPY ../build/prod /usr/share/nginx/html