Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +5 -3
Dockerfile
CHANGED
@@ -7,9 +7,11 @@ COPY ./app.py /app
|
|
7 |
COPY ./requirements.txt /app
|
8 |
RUN pip install -r requirements.txt
|
9 |
|
10 |
-
RUN
|
11 |
-
|
12 |
-
|
|
|
|
|
13 |
|
14 |
EXPOSE 5000
|
15 |
RUN flask run --host 0.0.0.0
|
|
|
7 |
COPY ./requirements.txt /app
|
8 |
RUN pip install -r requirements.txt
|
9 |
|
10 |
+
RUN chmod -R 777 /.cache
|
11 |
+
|
12 |
+
#RUN mkdir /app/.cache
|
13 |
+
#ARG SENTENCE_TRANSFORMERS_HOME=/app/.cache
|
14 |
+
#ENV SENTENCE_TRANSFORMERS_HOME=/app/.cache
|
15 |
|
16 |
EXPOSE 5000
|
17 |
RUN flask run --host 0.0.0.0
|