mirror of
https://gitee.com/ledc/IYUUAutoReseed
synced 2025-06-23 09:11:06 +00:00
优化Dockerfile防止更新权限覆盖
This commit is contained in:
@ -17,7 +17,8 @@ RUN set -ex \
|
||||
&& git clone https://gitee.com/ledc/IYUUAutoReseed.git /IYUU \
|
||||
&& cp /IYUU/config/config.sample.php /IYUU/config/config.php \
|
||||
&& ln -sf /IYUU/config/config.php /config.php \
|
||||
&& chmod -R 777 /IYUU/docker/entrypoint.sh \
|
||||
&& cp /IYUU/docker/entrypoint.sh /entrypoint.sh \
|
||||
&& chmod -R 777 /entrypoint.sh \
|
||||
&& apk del --purge *-dev \
|
||||
&& rm -rf /var/cache/apk/* /tmp/* /usr/share/man \
|
||||
&& echo "${TZ}" > /etc/timezone \
|
||||
@ -28,4 +29,4 @@ RUN set -ex \
|
||||
&& echo -e "\033[42;37m Build Completed :).\033[0m\n"
|
||||
|
||||
WORKDIR /IYUU
|
||||
ENTRYPOINT ["/IYUU/docker/entrypoint.sh"]
|
||||
ENTRYPOINT ["/entrypoint.sh"]
|
Reference in New Issue
Block a user