-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated git ignore and Dockerfile. Tested builds.
- Loading branch information
1 parent
64d3aeb
commit fdcc13c
Showing
2 changed files
with
5 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,3 +13,5 @@ src/node/index.mjs | |
**/*.DS_Store | ||
tests/browser/output/* | ||
.node-version | ||
Dockerfile | ||
build.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |