mirror of
https://github.com/EstrellaXD/Auto_Bangumi.git
synced 2026-11-29 23:55:23 +08:00
fix bug 优化使用体验
This commit is contained in:
@@ -11,7 +11,7 @@ FROM python:3.10-alpine
|
||||
|
||||
WORKDIR /src
|
||||
|
||||
COPY --from=build /install /usr/local
|
||||
COPY --from=build --chmod=777 /install /usr/local
|
||||
ADD ./src /src
|
||||
|
||||
RUN apk add --update --no-cache \
|
||||
@@ -33,4 +33,6 @@ ENV TZ=Asia/Shanghai \
|
||||
|
||||
EXPOSE 7892
|
||||
|
||||
VOLUME [ "/config" ]
|
||||
|
||||
CMD ["sh", "run.sh"]
|
||||
|
||||
@@ -7,6 +7,7 @@ nodaemon=true
|
||||
childlogdir=/config/logs/supervisor
|
||||
logfile=/config/logs/supervisord.log
|
||||
pidfile=/supervisord.pid
|
||||
user=root
|
||||
|
||||
[rpcinterface:supervisor]
|
||||
supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface
|
||||
|
||||
@@ -7,6 +7,6 @@ usermod -o -u "$PUID" bangumi
|
||||
|
||||
echo '设置文件夹权限'
|
||||
chown bangumi:bangumi /config
|
||||
chown -R bangumi:bangumi /src /usr/local
|
||||
chown -R bangumi:bangumi /src
|
||||
|
||||
exec /usr/bin/supervisord -n -c /src/bangumi.conf
|
||||
Reference in New Issue
Block a user