qgallouedec HF Staff commited on
Commit
deab972
·
1 Parent(s): cd37a38

allow edit user

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -2
Dockerfile CHANGED
@@ -20,8 +20,11 @@ RUN pip install --upgrade pip && \
20
  # Make script executable and move it to PATH
21
  RUN install -m 755 sft.py /usr/local/bin/sft
22
 
23
- # Set environment variables
24
- ENV XDG_CACHE_HOME=/usr/src/app/cache
 
 
 
25
 
26
  # Expose the Gradio port
27
  EXPOSE 7860
 
20
  # Make script executable and move it to PATH
21
  RUN install -m 755 sft.py /usr/local/bin/sft
22
 
23
+ # # Set environment variables
24
+ # ENV XDG_CACHE_HOME=/usr/src/app/cache
25
+
26
+ # chmod 777 app
27
+ RUN chmod 777 /usr/src/app
28
 
29
  # Expose the Gradio port
30
  EXPOSE 7860