FROM node:lts-stretch WORKDIR /src COPY . . RUN cp ormconfig.example.json ormconfig.json && \ cp example.env .env && \ yarn && \ npm install pm2 -g EXPOSE 80-60000 VOLUME ['/src'] CMD ["./pm2.sh"]