1
0
mirror of https://github.com/byulmaru/quesdon synced 2024-11-27 14:28:04 +09:00
quesdon/Dockerfile
unarist 6cf21e09d6 Remove redundant mkdir in Dockerfile
WORKDIR command creates specified directory automatically.
2017-12-11 02:30:53 +09:00

15 lines
179 B
Docker

FROM node
ENV BACK_PORT 80
WORKDIR /app
COPY package.json package-lock.json ./
RUN npm install
COPY . .
RUN npm run build
EXPOSE 80
CMD ["node", "/app/dist/server/index.js"]