sprinklers3/Dockerfile

14 lines
221 B
Docker
Raw Normal View History

2017-10-09 22:38:44 -06:00
FROM node:alpine
2017-11-01 00:28:47 -06:00
RUN npm install --global yarn
ADD package.json yarn.lock /app/
2017-10-09 22:38:44 -06:00
WORKDIR /app/
2017-11-01 00:28:47 -06:00
RUN yarn install --production
2017-10-09 22:38:44 -06:00
2018-05-28 20:22:18 -06:00
ADD dist/ /app/dist
ADD public/ /app/public
2017-10-09 22:38:44 -06:00
EXPOSE 8080
2017-11-01 00:28:47 -06:00
ENTRYPOINT [ "npm", "run", "start" ]