waffle/Dockerfile

22 lines
215 B
Text
Raw Normal View History

2022-04-27 23:51:08 +03:00
FROM node:16
WORKDIR /app
COPY package*.json ./
2022-04-27 23:53:10 +03:00
RUN npm i
2022-04-27 23:51:08 +03:00
COPY . .
RUN npm run build
WORKDIR /app/frontend
2022-04-27 23:53:10 +03:00
RUN npm i
2022-04-27 23:51:08 +03:00
RUN npm run build
WORKDIR /app
CMD [ "/bin/sh", "-c", "npm run ream && npm run start" ]