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.
21 lines
382 B
Docker
21 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"]
|