Mailspring/Dockerfile

10 lines
262 B
Text
Raw Normal View History

2016-07-07 06:30:35 +08:00
# https://github.com/nodejs/docker-node
FROM node:6
RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app
COPY package.json /usr/src/app/
RUN npm install
COPY . /usr/src/app
EXPOSE 8080
2016-07-08 06:25:45 +08:00
CMD [ "./node_modules/pm2/bin/pm2", "start", "./pm2-prod-${AWS_SERVICE_NAME}.yml"]