Download Dockerfile from omm7/brain: direct link, hf CLI and curl.
- Browser
- Download file 334 Bytes
-
https://huggingface.co/spaces/omm7/brain/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/omm7/brain/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/omm7/brain/resolve/main/Dockerfile
334 Bytes
| # Use a minimal base image with Python | |
| FROM python:3.9-slim | |
| # Set the working directory | |
| WORKDIR /app | |
| # Copy all files from the local directory to the container | |
| COPY . . | |
| # Install dependencies | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| # Run the Streamlit app | |
| CMD ["streamlit", "run", "app.py", "--server.address=0.0.0.0"] | |