Added docker config
This commit is contained in:
9
Dockerfile
Normal file
9
Dockerfile
Normal file
@ -0,0 +1,9 @@
|
||||
FROM node:18 AS Build
|
||||
WORKDIR /app/node/
|
||||
COPY . .
|
||||
RUN yarn
|
||||
RUN yarn build
|
||||
|
||||
FROM nginx AS Production
|
||||
WORKDIR /usr/share/nginx/html
|
||||
COPY --from=Build /app/node/dist /usr/share/nginx/html/
|
Reference in New Issue
Block a user