Spaces:
Running
Running
Download Dockerfile from iamCodjo/AIBoardGame: direct link, hf CLI and curl.
- Browser
- Download file 346 Bytes
-
https://huggingface.co/spaces/iamCodjo/AIBoardGame/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/iamCodjo/AIBoardGame/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/iamCodjo/AIBoardGame/resolve/main/Dockerfile
346 Bytes
| FROM python:3.10-slim | |
| WORKDIR /app | |
| # Copy dependency file | |
| COPY requirements.txt . | |
| # Install dependencies | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| # Copy the rest of the project | |
| COPY . . | |
| # Expose Streamlit default port | |
| EXPOSE 8501 | |
| # Run Streamlit | |
| CMD ["streamlit", "run", "app.py", "--server.port=8501", "--server.address=0.0.0.0"] |