Miroga64 commited on
Commit ·
5da1916
1
Parent(s): a60660f
Fixed model ENV
Browse files- Dockerfile +1 -0
Dockerfile
CHANGED
|
@@ -2,6 +2,7 @@ FROM python:3.8
|
|
| 2 |
WORKDIR /code
|
| 3 |
ENV DEBIAN_FRONTEND noninteractive
|
| 4 |
ENV NUMBA_CACHE_DIR=/tmp/
|
|
|
|
| 5 |
COPY requirements.txt requirements.txt
|
| 6 |
RUN apt-get update -y && apt install python3-pip -y
|
| 7 |
RUN pip install -r requirements.txt
|
|
|
|
| 2 |
WORKDIR /code
|
| 3 |
ENV DEBIAN_FRONTEND noninteractive
|
| 4 |
ENV NUMBA_CACHE_DIR=/tmp/
|
| 5 |
+
ENV HF_HOME="/root/cache/hf_cache_home"
|
| 6 |
COPY requirements.txt requirements.txt
|
| 7 |
RUN apt-get update -y && apt install python3-pip -y
|
| 8 |
RUN pip install -r requirements.txt
|