cryptpad/Dockerfile

21 lines
389 B
Docker
Raw Normal View History

2017-04-09 09:36:33 +00:00
FROM node:6-alpine
2016-12-29 21:02:03 +00:00
2017-04-09 09:36:33 +00:00
COPY . /cryptpad
2016-12-29 21:02:03 +00:00
WORKDIR /cryptpad
2017-04-09 09:36:33 +00:00
RUN apk add --no-cache git tini \
2018-01-23 09:28:58 +00:00
&& npm install --production \
2016-12-29 21:02:03 +00:00
&& npm install -g bower \
&& bower install --allow-root
EXPOSE 3000 3001
2016-12-29 21:02:03 +00:00
VOLUME /cryptpad/datastore
VOLUME /cryptpad/customize
ENV USE_SSL=false
ENV STORAGE=\'./storage/file\'
2016-12-29 21:02:03 +00:00
ENV LOG_TO_STDOUT=true
2017-04-09 09:36:33 +00:00
CMD ["/sbin/tini", "--", "/cryptpad/container-start.sh"]