s-ahal commited on
Commit
95d1882
·
verified ·
1 Parent(s): 9a5bfef

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -0
Dockerfile CHANGED
@@ -1,6 +1,9 @@
1
  # Cache folder
2
  ENV HF_HOME=/app/cache
3
 
 
 
 
4
  # Use an official Python runtime as a parent image
5
  FROM python:3.9-slim
6
 
 
1
  # Cache folder
2
  ENV HF_HOME=/app/cache
3
 
4
+ # Create the cache directory and give proper permissions
5
+ RUN mkdir -p /app/cache && chmod -R 777 /app/cache
6
+
7
  # Use an official Python runtime as a parent image
8
  FROM python:3.9-slim
9