fipamo/Dockerfile

19 lines
334 B
Docker
Raw Normal View History

2020-07-08 23:39:32 +02:00
FROM node:latest
COPY . /opt/fipamo
WORKDIR /opt/fipamo
RUN npm install pm2 -g \
&& npm install .
EXPOSE 2314
VOLUME /opt/fipamo/public
VOLUME /opt/fipamo/content
VOLUME /opt/fipamo/site
VOLUME /opt/fipamo/config.json
VOLUME /opt/fipamo/site-settings.json
ENTRYPOINT ["/usr/local/bin/npm"]
CMD ["start", "--", "--no-daemon"]