darshan8950 commited on
Commit
ba36526
·
verified ·
1 Parent(s): f71f174

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +0 -4
Dockerfile CHANGED
@@ -6,10 +6,6 @@ COPY ./requirements.txt /code/requirements.txt
6
 
7
  RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
8
 
9
- # Create a writable cache directory
10
- RUN mkdir /.cache && chmod -R 777 /.cache
11
- ENV TRANSFORMERS_CACHE=/.cache
12
-
13
  COPY . .
14
 
15
  CMD ["gunicorn", "-w", "4", "-b", "0.0.0.0:7860", "--timeout", "300", "main:app"]
 
6
 
7
  RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
8
 
 
 
 
 
9
  COPY . .
10
 
11
  CMD ["gunicorn", "-w", "4", "-b", "0.0.0.0:7860", "--timeout", "300", "main:app"]