2017-06-07 06:43:25 +00:00
|
|
|
FROM node:6.9.1
|
|
|
|
|
2017-11-08 08:57:51 +00:00
|
|
|
COPY production /app
|
2017-11-07 18:21:11 +00:00
|
|
|
|
2017-11-08 16:24:23 +00:00
|
|
|
COPY ../loopback /loopback
|
2017-11-08 08:57:51 +00:00
|
|
|
|
2017-06-07 06:43:25 +00:00
|
|
|
WORKDIR /app
|
|
|
|
|
|
|
|
RUN npm install
|
|
|
|
|
2017-08-30 07:58:10 +00:00
|
|
|
RUN npm -g install pm2
|
|
|
|
|
2017-11-07 18:21:11 +00:00
|
|
|
CMD ["pm2-docker", "./server/server.js"]
|
2017-06-07 06:43:25 +00:00
|
|
|
|
|
|
|
EXPOSE 3004
|