Spaces:
No application file
No application file
Download server/Dockerfile from Sneha7/code-debug-env: direct link, hf CLI and curl.
- Browser
- Download file 299 Bytes
-
https://huggingface.co/spaces/Sneha7/code-debug-env/resolve/main/server/Dockerfile
- Command line
-
hf download hf://spaces/Sneha7/code-debug-env/server/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Sneha7/code-debug-env/resolve/main/server/Dockerfile
299 Bytes
| FROM ghcr.io/meta-pytorch/openenv-base:latest AS base | |
| WORKDIR /app | |
| COPY pyproject.toml README.md ./ | |
| COPY models.py ./ | |
| COPY client.py ./ | |
| COPY server/ ./server/ | |
| RUN pip install --no-cache-dir -e . | |
| EXPOSE 8000 | |
| WORKDIR /app/server | |
| CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "8000"] | |