12 lines
155 B
Docker
12 lines
155 B
Docker
|
FROM node:8.9.4
|
||
|
|
||
|
COPY . /app
|
||
|
COPY ../loopback /loopback
|
||
|
|
||
|
WORKDIR /app
|
||
|
|
||
|
RUN npm install
|
||
|
RUN npm -g install pm2
|
||
|
|
||
|
CMD ["pm2-docker", "./server/server.js"]
|