Update Dockerfile

Move COPY /entrypoint.sh to bottom and make sure entrypoint.sh have execute permission
This commit is contained in:
Amin Cheloh 2016-10-12 17:10:38 +07:00 committed by GitHub
parent 48a24559a3
commit 54bd1c406a

View file

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