SimFG commited on
Commit
12f4c75
·
1 Parent(s): d978806

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -1
Dockerfile CHANGED
@@ -19,7 +19,8 @@ ENV PATH="/root/.local/bin:$PATH"
19
 
20
  RUN poetry install --only main
21
  RUN mkdir -p /.cache && \
22
- chmod -R 777 /.cache /root/.local
 
23
 
24
  # Expose the port the app runs on
25
  EXPOSE 7860
 
19
 
20
  RUN poetry install --only main
21
  RUN mkdir -p /.cache && \
22
+ chmod -R 777 /.cache /root/.local && \
23
+ chown -R 1000:0 "/root/.local" "/usr/local" "/.cache"
24
 
25
  # Expose the port the app runs on
26
  EXPOSE 7860