Spaces:
BG5
/
Sleeping

BG5 commited on
Commit
f2a3669
·
verified ·
1 Parent(s): 25757e9

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -1
Dockerfile CHANGED
@@ -25,7 +25,7 @@ RUN apt-get update && apt-get install -y \
25
 
26
  # RUN apt-get install -f
27
 
28
- RUN pip install --no-cache-dir --upgrade --break-system-packages -r requirements.txt
29
  RUN echo 'root:12345' | chpasswd
30
  RUN chmod +x alist
31
  RUN mkdir -p /data
@@ -42,6 +42,7 @@ COPY --chown=appuser . /app
42
  # 更改目录和文件的所有者
43
  RUN chown -R appuser:appuser /app
44
  RUN chmod 777 /app
 
45
  # 切换到非特权用户
46
  USER appuser
47
  EXPOSE 7860
 
25
 
26
  # RUN apt-get install -f
27
 
28
+
29
  RUN echo 'root:12345' | chpasswd
30
  RUN chmod +x alist
31
  RUN mkdir -p /data
 
42
  # 更改目录和文件的所有者
43
  RUN chown -R appuser:appuser /app
44
  RUN chmod 777 /app
45
+ RUN pip install --no-cache-dir --upgrade --break-system-packages -r requirements.txt
46
  # 切换到非特权用户
47
  USER appuser
48
  EXPOSE 7860