You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
535 B

  1. FROM arm64v8/node:6
  2. COPY . /cryptpad
  3. WORKDIR /cryptpad
  4. RUN npm config set unsafe-perm true
  5. ADD https://github.com/krallin/tini/releases/download/v0.18.0/tini-static-arm64 /sbin/tini
  6. RUN chmod a+x /sbin/tini
  7. RUN apt install -y git \
  8. && npm install --production \
  9. && npm install -g bower \
  10. && bower install --allow-root
  11. EXPOSE 3000 3001
  12. VOLUME /cryptpad/datastore
  13. VOLUME /cryptpad/customize
  14. ENV USE_SSL=false
  15. ENV STORAGE=\'./storage/file\'
  16. ENV LOG_TO_STDOUT=true
  17. CMD ["/sbin/tini", "--", "/cryptpad/container-start.sh"]