Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- 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 |
+
|