mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-09-20 00:27:57 +08:00
Update Dockerfile
Move COPY /entrypoint.sh to bottom and make sure entrypoint.sh have execute permission
This commit is contained in:
@@ -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"]
|
||||||
|
Reference in New Issue
Block a user