yonikremer
commited on
Commit
·
0232d80
1
Parent(s):
03832bd
added cache folders
Browse files- Dockerfile +6 -0
Dockerfile
CHANGED
@@ -6,6 +6,12 @@ COPY ./requirements.txt /app/requirements.txt
|
|
6 |
|
7 |
RUN pip install --no-cache-dir -r /app/requirements.txt
|
8 |
|
|
|
|
|
|
|
|
|
|
|
|
|
9 |
COPY . /app
|
10 |
|
11 |
CMD ["streamlit", "run", "/app/app.py"]
|
|
|
6 |
|
7 |
RUN pip install --no-cache-dir -r /app/requirements.txt
|
8 |
|
9 |
+
RUN mkdir "/.cache/"
|
10 |
+
RUN mkdir "/.cache/huggingface/"
|
11 |
+
ENV HUGGINGFACE_HUB_CACHE="/.cache/huggingface"
|
12 |
+
RUN mkdir "/.cache/transformers/"
|
13 |
+
ENV TRANSFORMERS_CACHE="/.cache/transformers"
|
14 |
+
|
15 |
COPY . /app
|
16 |
|
17 |
CMD ["streamlit", "run", "/app/app.py"]
|