adrienbrdne commited on
Commit
9d85d89
·
verified ·
1 Parent(s): f50bdfd

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -0
Dockerfile CHANGED
@@ -9,6 +9,8 @@ ENV PYTHONDONTWRITEBYTECODE 1
9
  # Ensure Python output is sent straight to terminal (useful for logs)
10
  ENV PYTHONUNBUFFERED 1
11
 
 
 
12
 
13
  # Set environment variables for the cache
14
  ENV HF_HOME="/app/cache"
 
9
  # Ensure Python output is sent straight to terminal (useful for logs)
10
  ENV PYTHONUNBUFFERED 1
11
 
12
+ # Create cache folder and make sure it is accessible
13
+ RUN mkdir -p /app/cache && chmod -R 777 /app/cache
14
 
15
  # Set environment variables for the cache
16
  ENV HF_HOME="/app/cache"