mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-09-19 10:17:56 +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
|
||||
|
||||
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"]
|
||||
|
Reference in New Issue
Block a user