playingapi commited on
Commit
63c972f
·
verified ·
1 Parent(s): 83bbd62

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -3
Dockerfile CHANGED
@@ -12,15 +12,15 @@ COPY sync_data.sh /app/sync_data.sh
12
 
13
  RUN chmod +x /app/sync_data.sh \
14
  && mkdir -p /app/db \
15
- && mkdir -p /root/.cache # 显式创建默认缓存目录
16
  && chmod -R 777 /app/db \
17
- && chmod -R 777 /root/.cache # 确保缓存目录可写
18
 
19
  ENV TZ="Asia/Shanghai" \
20
  ADMIN_NAME="admin" \
21
  PORT=8181 \
22
  REDIRECT_URI="https://playingapi-helper.hf.space" \
23
- HOME=/root # 显式设置 $HOME
24
 
25
  EXPOSE 8181
26
 
 
12
 
13
  RUN chmod +x /app/sync_data.sh \
14
  && mkdir -p /app/db \
15
+ && mkdir -p /root/.cache
16
  && chmod -R 777 /app/db \
17
+ && chmod -R 777 /root/.cache
18
 
19
  ENV TZ="Asia/Shanghai" \
20
  ADMIN_NAME="admin" \
21
  PORT=8181 \
22
  REDIRECT_URI="https://playingapi-helper.hf.space" \
23
+ HOME=/root
24
 
25
  EXPOSE 8181
26