cigol123 commited on
Commit
c89739f
·
verified ·
1 Parent(s): 71d95bb

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -5,8 +5,8 @@ FROM python:3.9-slim
5
  ENV TRANSFORMERS_CACHE=/app/.cache
6
  ENV HF_DATASETS_CACHE=/app/.cache
7
 
8
- # Create the cache directory
9
- RUN mkdir -p /app/.cache
10
 
11
  # Set the working directory in the container
12
  WORKDIR /app
 
5
  ENV TRANSFORMERS_CACHE=/app/.cache
6
  ENV HF_DATASETS_CACHE=/app/.cache
7
 
8
+ # Create the cache directory and set permissions
9
+ RUN mkdir -p /app/.cache && chmod -R 777 /app/.cache
10
 
11
  # Set the working directory in the container
12
  WORKDIR /app