Skip to content

Commit

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

0 comments on commit fdcc13c

Please sign in to comment.