This commit is contained in:
13
Dockerfile
Normal file
13
Dockerfile
Normal file
@@ -0,0 +1,13 @@
|
||||
FROM node:20 as builder
|
||||
|
||||
WORKDIR /build
|
||||
COPY package.json package-lock.json ./
|
||||
|
||||
RUN npm install
|
||||
|
||||
COPY ./ ./
|
||||
|
||||
RUN ./build.sh
|
||||
|
||||
FROM nginx:latest
|
||||
COPY --from=builder /build/public /usr/share/nginx/html
|
||||
Reference in New Issue
Block a user