add docker file
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
FROM node:lts-alpine as builder
|
||||
WORKDIR /data
|
||||
COPY . .
|
||||
RUN npm i \
|
||||
&& npm run build
|
||||
|
||||
FROM nginx:alpine
|
||||
WORKDIR /
|
||||
COPY --from=builder /data/build/ /usr/share/nginx/html
|
||||
Reference in New Issue
Block a user