Spaces:
Paused
Paused
Download docker from warhawkmonk/DataGen: direct link, hf CLI and curl.
- Browser
- Download file 609 Bytes
-
https://huggingface.co/spaces/warhawkmonk/DataGen/resolve/main/docker
- Command line
-
hf download hf://spaces/warhawkmonk/DataGen/docker
-
curl -L -o docker https://huggingface.co/spaces/warhawkmonk/DataGen/resolve/main/docker
609 Bytes
| # Use an official Python runtime as a parent image | |
| FROM python:3.12 | |
| # Set the working directory in the container | |
| / | |
| # Copy requirements.txt into the container | |
| COPY requirements.txt /requirements.txt | |
| # Install dependencies | |
| RUN pip install --no-cache-dir -r /requirements.txt | |
| # Copy the application code into the container | |
| COPY . /app | |
| # Expose the Streamlit default port | |
| EXPOSE 8501 | |
| # Set environment variables to avoid Streamlit UI prompts | |
| ENV STREAMLIT_SERVER_PORT=8501 \ | |
| STREAMLIT_SERVER_ADDRESS=0.0.0.0 \ | |
| PYTHONUNBUFFERED=1 | |
| # Command to run the Streamlit app | |
| CMD ["streamlit", "run", "app.py"] | |