AurelioAguirre commited on
Commit
dfc10d1
·
1 Parent(s): 2cd7c65

Fixed Dockerfile v8

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -0
Dockerfile CHANGED
@@ -11,6 +11,10 @@ COPY requirements.txt .
11
  # Install dependencies
12
  RUN pip install --no-cache-dir -r requirements.txt
13
 
 
 
 
 
14
  # Copy the application code
15
  COPY ./app /code/app
16
  COPY ./utils /code/utils
 
11
  # Install dependencies
12
  RUN pip install --no-cache-dir -r requirements.txt
13
 
14
+ # Create necessary directories and set permissions
15
+ RUN mkdir -p /code/logs /code/hf_cache /code/app/.cache \
16
+ && chmod 777 /code/logs /code/hf_cache /code/app/.cache
17
+
18
  # Copy the application code
19
  COPY ./app /code/app
20
  COPY ./utils /code/utils