Updated git ignore and Dockerfile. Tested builds.
This commit is contained in:
parent
64d3aeb7f7
commit
fdcc13c3a2
2
.gitignore
vendored
2
.gitignore
vendored
@ -13,3 +13,5 @@ src/node/index.mjs
|
|||||||
**/*.DS_Store
|
**/*.DS_Store
|
||||||
tests/browser/output/*
|
tests/browser/output/*
|
||||||
.node-version
|
.node-version
|
||||||
|
Dockerfile
|
||||||
|
build.sh
|
||||||
|
|||||||
12
Dockerfile
12
Dockerfile
@ -1,9 +1,3 @@
|
|||||||
FROM node:18-alpine AS build
|
FROM nginx:latest
|
||||||
|
LABEL maintainer='David Goldenberg'
|
||||||
COPY . .
|
COPY ../build/prod /usr/share/nginx/html
|
||||||
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…
x
Reference in New Issue
Block a user