1
0
mirror of https://github.com/byulmaru/quesdon synced 2024-12-12 21:58:04 +09:00
quesdon/Dockerfile

16 lines
194 B
Docker
Raw Normal View History

2017-12-09 09:39:59 +09:00
FROM node
ENV BACK_PORT 80
RUN mkdir /app
WORKDIR /app
COPY package.json package-lock.json ./
RUN npm install
COPY . .
2017-12-09 10:01:58 +09:00
RUN npm run build
2017-12-09 09:39:59 +09:00
EXPOSE 80
2017-12-09 09:57:52 +09:00
CMD ["node", "/app/dist/server/index.js"]