1
0
mirror of https://github.com/byulmaru/quesdon synced 2024-11-27 14:28:04 +09:00
quesdon/Dockerfile
2022-04-23 21:45:38 +09:00

16 lines
244 B
Docker

FROM node:10
ENV BACK_PORT 80
WORKDIR /app
COPY package.json yarn.lock ./
RUN yarn config set network-timeout 1000000 -g && \
yarn install
COPY . .
RUN NODE_ENV=production yarn build
EXPOSE 80
CMD ["node", "/app/dist/server/index.js"]