garvitcpp commited on
Commit
e4dc16a
·
verified ·
1 Parent(s): 4a90100

Update Dockerfile

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