cash in docer
Browse files- Dockerfile +2 -0
Dockerfile
CHANGED
@@ -11,4 +11,6 @@ RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
|
11 |
|
12 |
COPY . .
|
13 |
|
|
|
|
|
14 |
CMD ["gunicorn", "-b", "0.0.0.0:7860", "main:app"]
|
|
|
11 |
|
12 |
COPY . .
|
13 |
|
14 |
+
ENV TRANSFORMERS_CACHE=/model/transformers_cache
|
15 |
+
|
16 |
CMD ["gunicorn", "-b", "0.0.0.0:7860", "main:app"]
|