feat: dockerized repo

This commit is contained in:
Rushil Umaretiya 2021-09-07 02:57:05 -04:00
parent 57628bef00
commit fa087fba9a
No known key found for this signature in database
GPG Key ID: 4E8FAF9C926AF959

13
Dockerfile Normal file
View File

@ -0,0 +1,13 @@
FROM node:14 as build
WORKDIR /app
COPY . ./
RUN yarn
RUN yarn build
FROM nginx:alpine as serve
COPY --from=build /app/dist /usr/share/nginx/html
EXPOSE 80