rasmodev commited on
Commit
dc7b6d5
·
1 Parent(s): bbd54bf

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -0
Dockerfile CHANGED
@@ -4,6 +4,10 @@ FROM python:3.11.3-slim
4
  # Set the working directory within the container
5
  WORKDIR /app
6
 
 
 
 
 
7
  # Copy the requirements.txt file into the container
8
  COPY ./requirements.txt /app/requirements.txt
9
 
 
4
  # Set the working directory within the container
5
  WORKDIR /app
6
 
7
+ RUN mkdir -p /.cache/huggingface/hub && chmod -R 777 / .cache
8
+
9
+ ENV TRANSFORMERS_CACHE / cache/huggingface/hub
10
+
11
  # Copy the requirements.txt file into the container
12
  COPY ./requirements.txt /app/requirements.txt
13