Spaces:
Runtime error
Runtime error
| FROM python:3.9 | |
| WORKDIR /code | |
| COPY ./requirements.txt /code/requirements.txt | |
| RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt | |
| RUN curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | bash | |
| RUN apt-get install git-lfs && git lfs install | |
| RUN git clone https://huggingface.co/sentence-transformers/quora-distilbert-multilingual model | |
| COPY . . | |
| ENV PYTHONPATH "${PYTHONPATH}:/code/app/" | |
| # CMD ["uwsgi", "--http", "0.0.0.0:7860", "--master", "-p", "1", "-w", "app.main:app"] | |
| CMD ["python3", "app/main.py"] |