Spaces:
Runtime error
Runtime error
Download Dockerfile from Xeltron-cloud/VexaAI_DeepSeek-Coder-6.7B-Instruct_API: direct link, hf CLI and curl.
- Browser
- Download file 383 Bytes
-
https://huggingface.co/spaces/Xeltron-cloud/VexaAI_DeepSeek-Coder-6.7B-Instruct_API/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Xeltron-cloud/VexaAI_DeepSeek-Coder-6.7B-Instruct_API/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Xeltron-cloud/VexaAI_DeepSeek-Coder-6.7B-Instruct_API/resolve/main/Dockerfile
383 Bytes
| FROM python:3.10-slim | |
| RUN useradd -m -u 1000 user | |
| USER user | |
| ENV HOME=/home/user \ | |
| PATH=/home/user/.local/bin:$PATH | |
| WORKDIR $HOME/app | |
| RUN pip install --no-cache-dir --upgrade pip | |
| COPY --chown=user requirements.txt $HOME/app/ | |
| RUN pip install -r requirements.txt | |
| COPY --chown=user app.py $HOME/app/ | |
| EXPOSE 7860 | |
| CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"] |