Spaces:
Configuration error
Configuration error
Download Dockerfile from hissterical/db-schema-migration: direct link, hf CLI and curl.
- Browser
- Download file 300 Bytes
-
https://huggingface.co/spaces/hissterical/db-schema-migration/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/hissterical/db-schema-migration/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/hissterical/db-schema-migration/resolve/main/Dockerfile
300 Bytes
| FROM python:3.11-slim | |
| WORKDIR /app | |
| # Install dependencies | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| # Copy source | |
| COPY server/ ./server/ | |
| # HuggingFace Spaces runs on port 7860 | |
| EXPOSE 7860 | |
| CMD ["uvicorn", "server.main:app", "--host", "0.0.0.0", "--port", "7860"] | |