shevadesuyash commited on
Commit
e7a4abd
·
verified ·
1 Parent(s): e8cccdd

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -5
Dockerfile CHANGED
@@ -39,11 +39,9 @@ RUN chmod +x /app/entrypoint.sh
39
  # Expose Flask default port
40
  EXPOSE 8080
41
 
42
- # Run app
43
- CMD ["/app/entrypoint.sh"]
44
-
45
  # Add this near the end of Dockerfile
46
  RUN chmod -R a+w /app/.hf_cache
47
- # Assuming you switch to a user like 'appuser'
48
- RUN mkdir -p /app/.hf_cache && chown -R appuser:appuser /app/.hf_cache
 
49
 
 
39
  # Expose Flask default port
40
  EXPOSE 8080
41
 
 
 
 
42
  # Add this near the end of Dockerfile
43
  RUN chmod -R a+w /app/.hf_cache
44
+
45
+ # Run app
46
+ CMD ["/app/entrypoint.sh"]
47