lefos 3 years ago
parent
commit
52f1d220ca
  1. 4
      Dockerfile

4
Dockerfile

@ -6,8 +6,12 @@ RUN apk add --no-cache nodejs npm
COPY . /usr/src/app
WORKDIR /usr/src/app
RUN npm --prefix swarmlab-app/src install
RUN npm install pm2 -g
# RUN npm --prefix /swarmlab-app/src install express
EXPOSE 3000
CMD ["pm2-runtime", "ecosystem.config.js"]
Loading…
Cancel
Save