mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
Update Dockerfile
Move COPY /entrypoint.sh to bottom and make sure entrypoint.sh have execute permission
This commit is contained in:
parent
48a24559a3
commit
54bd1c406a
|
@ -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…
Reference in a new issue