You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
334 B
Docker
19 lines
334 B
Docker
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"]
|