salix/Dockerfile

9 lines
157 B
Docker
Raw Normal View History

FROM node:8-slim
COPY . /salix
COPY dist/webpack-assets.json /salix/client/
RUN npm -g install pm2
WORKDIR /salix
CMD ["pm2-docker", "./server/server.js"]