waffle/Dockerfile
2022-04-27 23:51:08 +03:00

21 lines
217 B
Docker

FROM node:16
WORKDIR /app
COPY package*.json ./
RUN npm ci
COPY . .
RUN npm run build
WORKDIR /app/frontend
RUN npm ci
RUN npm run build
WORKDIR /app
CMD [ "/bin/sh", "-c", "npm run ream && npm run start" ]