Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +3 -0
Dockerfile
CHANGED
@@ -7,6 +7,9 @@ COPY ./requirements.txt /app
|
|
7 |
COPY ./app.py /app
|
8 |
|
9 |
RUN pip install -r requirements.txt
|
|
|
|
|
|
|
10 |
|
11 |
EXPOSE 5000
|
12 |
CMD ["flask", "run", "--host", "0.0.0.0"]
|
|
|
7 |
COPY ./app.py /app
|
8 |
|
9 |
RUN pip install -r requirements.txt
|
10 |
+
RUN mkdir ./.cache
|
11 |
+
|
12 |
+
ARG SENTENCE_TRANSFORMERS_HOME=./.cache
|
13 |
|
14 |
EXPOSE 5000
|
15 |
CMD ["flask", "run", "--host", "0.0.0.0"]
|