Spaces:
Runtime error
Runtime error
Download Dockerfile from Modrik-Team/Modrik: direct link, hf CLI and curl.
- Browser
- Download file 463 Bytes
-
https://huggingface.co/spaces/Modrik-Team/Modrik/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Modrik-Team/Modrik/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Modrik-Team/Modrik/resolve/main/Dockerfile
463 Bytes
| FROM python:3.11-slim | |
| WORKDIR /app | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir --trusted-host pypi.org --trusted-host pypi.python.org --trusted-host files.pythonhosted.org -r requirements.txt | |
| COPY . . | |
| RUN python -c "from sentence_transformers import SentenceTransformer; SentenceTransformer('intfloat/multilingual-e5-large')" | |
| RUN chmod +x entrypoint.sh | |
| ENV HF_HUB_OFFLINE=1 | |
| ENV TRANSFORMERS_OFFLINE=1 | |
| EXPOSE 8501 | |
| ENTRYPOINT ["./entrypoint.sh"] | |