Spaces:
Sleeping
Sleeping
Download src/train_docker/Dockerfile from p2ov/streamlit_app: direct link, hf CLI and curl.
- Browser
- Download file 436 Bytes
-
https://huggingface.co/spaces/p2ov/streamlit_app/resolve/main/src/train_docker/Dockerfile
- Command line
-
hf download hf://spaces/p2ov/streamlit_app/src/train_docker/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/p2ov/streamlit_app/resolve/main/src/train_docker/Dockerfile
436 Bytes
| # Use official Python 3.12.11 image as base | |
| FROM python:3.12.11-slim | |
| # Set working directory inside the container | |
| WORKDIR /src/train_docker | |
| # Copy requirements.txt first (for better caching) | |
| COPY requirements.txt . | |
| # Install dependencies | |
| RUN pip install --upgrade pip && \ | |
| pip install -r requirements.txt | |
| # Copy the rest of the application code | |
| COPY . . | |
| # Default command to run your training script | |
| CMD ["python", "train.py"] | |