claree007 commited on
Commit
b11bc42
·
1 Parent(s): 3d317fb

fix module not found

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -0
Dockerfile CHANGED
@@ -4,4 +4,5 @@ COPY ./requirements.txt /code/requirements.txt
4
  RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
5
  RUN git clone https://huggingface.co/sentence-transformers/quora-distilbert-multilingual model
6
  COPY . .
 
7
  CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "7860"]
 
4
  RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
5
  RUN git clone https://huggingface.co/sentence-transformers/quora-distilbert-multilingual model
6
  COPY . .
7
+ ENV PYTHONPATH "${PYTHONPATH}:/app/"
8
  CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "7860"]