cryptpad/Dockerfile
2018-01-25 14:04:55 +01:00

20 lines
382 B
Docker

FROM node:6-alpine
COPY . /cryptpad
WORKDIR /cryptpad
RUN apk add --no-cache git tini \
&& npm install --production \
&& npm install -g bower \
&& bower install --allow-root
EXPOSE 3000
VOLUME /cryptpad/datastore
VOLUME /cryptpad/customize
ENV USE_SSL=false
ENV STORAGE='./storage/file'
ENV LOG_TO_STDOUT=true
CMD ["/sbin/tini", "--", "/cryptpad/container-start.sh"]