rasmodev commited on
Commit
ad8b23e
1 Parent(s): 8864a83

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -3
Dockerfile CHANGED
@@ -19,11 +19,11 @@ COPY ./app.py /app/app.py
19
  # Copy the model and key components into the container
20
  COPY ./rf_key_components.pkl /app/rf_key_components.pkl
21
 
22
- # Set the correct permissions on /tmp
23
- RUN chmod 1777 /tmp
24
 
25
  # Expose port 7860 for the Gradio application
26
  EXPOSE 7860
27
 
28
  # Command to run the Gradio app when the container starts
29
- CMD ["python", "app.py"]
 
19
  # Copy the model and key components into the container
20
  COPY ./rf_key_components.pkl /app/rf_key_components.pkl
21
 
22
+ # Set the correct permissions on /tmp and /app
23
+ RUN chmod 1777 /tmp && chmod -R 777 /app
24
 
25
  # Expose port 7860 for the Gradio application
26
  EXPOSE 7860
27
 
28
  # Command to run the Gradio app when the container starts
29
+ CMD ["python", "app.py"]