FROM node:10.12.0 RUN apt update RUN apt install nginx -y WORKDIR / COPY ./ ./ RUN chmod +x start-servers.sh RUN chmod +x build-nginx-conf.sh RUN ./build-nginx-conf.sh ENV NODE_HANDLER sequelize-postgres RUN npm install CMD ./start-servers.sh && nginx -c /nginx.conf -g "daemon off;"