Browse Source

Merge pull request #7 from l-n-s/fix_docker

Docker: fix permissions issue
pull/8/head
Darknet Villain 7 years ago committed by GitHub
parent
commit
5cc14e16d9
  1. 3
      contrib/docker/Dockerfile

3
contrib/docker/Dockerfile

@ -17,12 +17,13 @@ RUN apk --no-cache add python3 py3-pip build-base git openssl-dev musl-dev pytho
RUN apk --no-cache add python3 openssl RUN apk --no-cache add python3 openssl
VOLUME "$DATA_DIR" VOLUME "$DATA_DIR"
USER pyseeder
COPY entrypoint.sh /entrypoint.sh COPY entrypoint.sh /entrypoint.sh
RUN chmod a+x /entrypoint.sh RUN chmod a+x /entrypoint.sh
EXPOSE 8443 EXPOSE 8443
USER pyseeder
ENTRYPOINT [ "/entrypoint.sh" ] ENTRYPOINT [ "/entrypoint.sh" ]

Loading…
Cancel
Save