2016-11-17 09:18:11 +00:00
|
|
|
FROM node:6.9.1
|
|
|
|
|
2017-11-08 08:57:51 +00:00
|
|
|
COPY auth /app
|
2017-11-07 18:21:11 +00:00
|
|
|
|
2017-11-08 08:57:51 +00:00
|
|
|
COPY loopback /loopback
|
|
|
|
|
2016-11-17 09:18:11 +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-05-11 10:07:33 +00:00
|
|
|
|
2017-05-12 10:41:35 +00:00
|
|
|
EXPOSE 3000
|