salix/Dockerfile

17 lines
383 B
Docker
Raw Normal View History

2018-12-27 11:54:16 +00:00
FROM vn-node
2018-12-27 11:54:16 +00:00
RUN mkdir /salix
WORKDIR /salix
2018-12-27 11:54:16 +00:00
COPY dist .
COPY modules .
#COPY node_modules .
COPY loopback .
COPY dist/webpack-assets.json loopback/client
RUN rm /etc/nginx/sites-enabled/default
COPY services/nginx/temp/nginx.conf /etc/nginx/sites-available/salix
RUN ln -s /etc/nginx/sites-available/salix /etc/nginx/sites-enabled/salix
CMD ["pm2-docker", "./server/server.js"]