Spaces:
Runtime error
Runtime error
fix module not found
Browse files- 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"]
|