gagag
Browse files- Dockerfile +3 -0
Dockerfile
CHANGED
|
@@ -3,4 +3,7 @@ COPY . /app
|
|
| 3 |
WORKDIR /app
|
| 4 |
RUN pip install -r requirements.txt
|
| 5 |
RUN apt-get update && apt-get install -y ffmpeg
|
|
|
|
|
|
|
|
|
|
| 6 |
CMD ["uvicorn", "fastapi_app:app", "--host", "0.0.0.0", "--port", "7860"]
|
|
|
|
| 3 |
WORKDIR /app
|
| 4 |
RUN pip install -r requirements.txt
|
| 5 |
RUN apt-get update && apt-get install -y ffmpeg
|
| 6 |
+
ENV TRANSFORMERS_CACHE=/tmp/hf_cache
|
| 7 |
+
ENV HF_HOME=/tmp/hf_cache
|
| 8 |
+
ENV HUGGINGFACE_HUB_CACHE=/tmp/hf_cache
|
| 9 |
CMD ["uvicorn", "fastapi_app:app", "--host", "0.0.0.0", "--port", "7860"]
|