Spaces:
Paused
Paused
Download Dockerfile from arcticaurora/TimeTool: direct link, hf CLI and curl.
- Browser
- Download file 338 Bytes
-
https://huggingface.co/spaces/arcticaurora/TimeTool/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/arcticaurora/TimeTool/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/arcticaurora/TimeTool/resolve/main/Dockerfile
338 Bytes
| FROM python:3.13-slim | |
| # Create user to avoid running as root | |
| RUN useradd -m -u 1000 user | |
| # Install dependencies | |
| COPY --chown=user requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| # Copy application code | |
| COPY --chown=user . . | |
| # Run the application | |
| CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"] |