Browse Source

Update Dockerfile

Move COPY /entrypoint.sh to bottom and make sure entrypoint.sh have execute permission
pull/378/head
Amin Cheloh 8 years ago
committed by GitHub
parent
commit
54bd1c406a
  1. 6
      docker/Dockerfile

6
docker/Dockerfile

@ -1,8 +1,5 @@
FROM progrium/busybox FROM progrium/busybox
COPY entrypoint.sh /entrypoint.sh
COPY Dockerfile /etc/Dockerfile
RUN opkg-install curl RUN opkg-install curl
RUN echo tlsv1 >> ~/.curlrc RUN echo tlsv1 >> ~/.curlrc
@ -15,4 +12,7 @@ EXPOSE 9333
VOLUME /data VOLUME /data
COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"] ENTRYPOINT ["/entrypoint.sh"]
Loading…
Cancel
Save