shevadesuyash commited on
Commit
a342713
·
verified ·
1 Parent(s): 6748826

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +6 -0
Dockerfile CHANGED
@@ -41,3 +41,9 @@ EXPOSE 8080
41
 
42
  # Run app
43
  CMD ["/app/entrypoint.sh"]
 
 
 
 
 
 
 
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
+