Spaces:
Sleeping
Sleeping
Download Dockerfile from 01ammu/data-cleaning-openenv: direct link, hf CLI and curl.
- Browser
- Download file 471 Bytes
-
https://huggingface.co/spaces/01ammu/data-cleaning-openenv/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/01ammu/data-cleaning-openenv/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/01ammu/data-cleaning-openenv/resolve/main/Dockerfile
471 Bytes
| FROM python:3.11-slim | |
| WORKDIR /app | |
| # Install dependencies | |
| RUN pip install --no-cache-dir \ | |
| fastapi \ | |
| uvicorn \ | |
| requests \ | |
| openai \ | |
| pydantic | |
| # Copy environment code | |
| COPY envs/data_cleaning_env/server/ ./server/ | |
| COPY envs/data_cleaning_env/tasks/ ./tasks/ | |
| # Copy required files | |
| COPY inference.py . | |
| COPY openenv.yaml . | |
| # Expose port | |
| EXPOSE 7860 | |
| # Start server | |
| CMD ["python", "-m", "uvicorn", "server.app:app", "--host", "0.0.0.0", "--port", "7860"] |