anon5 commited on
Commit
09498b1
1 Parent(s): e0567f1

Update Dockerfile

Browse files
Files changed (1) hide show
  1. 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"]