Spaces:
Sleeping
Sleeping
Download Dockerfile from Loading404/legion-ai: direct link, hf CLI and curl.
- Browser
- Download file 269 Bytes
-
https://huggingface.co/spaces/Loading404/legion-ai/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Loading404/legion-ai/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Loading404/legion-ai/resolve/main/Dockerfile
269 Bytes
| FROM python:3.10-slim | |
| # Set working directory | |
| WORKDIR /code | |
| # Copy files | |
| COPY . /code | |
| # Install dependencies | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| # Expose port (Hugging Face expects 7860 by default) | |
| EXPOSE 7860 | |
| # Run the app | |
| CMD ["python", "app.py"] | |