11
deploy/Dockerfile
Normal file
11
deploy/Dockerfile
Normal file
@ -0,0 +1,11 @@
|
||||
FROM node:lts-alpine3.14 as builder
|
||||
|
||||
COPY . /app
|
||||
WORKDIR /app
|
||||
|
||||
RUN yarn install
|
||||
RUN yarn generate
|
||||
|
||||
FROM nginx:1.20.2-alpine
|
||||
|
||||
COPY --from=builder /app/dist/ /usr/share/nginx/html/
|
Reference in New Issue
Block a user