cryptalk/Dockerfile

8 lines
222 B
Docker
Raw Permalink Normal View History

2016-12-18 18:40:59 -05:00
FROM node:alpine
2016-12-17 18:03:43 -05:00
COPY . /usr/src/app
2017-01-17 16:53:57 -05:00
WORKDIR /usr/src/app
2017-01-17 16:50:05 -05:00
RUN npm install && \
npm cache clean
2016-12-17 18:03:43 -05:00
EXPOSE 8080
2017-01-14 19:05:35 -05:00
RUN chmod +x /usr/src/app/docker-entrypoint.sh
2017-01-17 16:50:05 -05:00
ENTRYPOINT ["/usr/src/app/docker-entrypoint.sh", "npm", "start"]