website/Dockerfile

15 lines
147 B
Docker
Raw Normal View History

2022-11-10 00:12:34 +05:30
FROM node:19-alpine
2022-08-27 22:08:41 +05:30
2022-11-10 00:12:34 +05:30
WORKDIR /usr/src/app
2022-08-27 22:08:41 +05:30
COPY package.json ./
2022-11-10 00:12:34 +05:30
RUN npm i
COPY . .
RUN npm run build
2022-08-27 22:16:06 +05:30
EXPOSE 80
2022-11-10 00:12:34 +05:30
CMD [ "npm", "run", "preview" ]