Spaces:
Sleeping
Sleeping
Download Dockerfile from ytrsoymr/DataScience-AI-Mentor: direct link, hf CLI and curl.
- Browser
- Download file 468 Bytes
-
https://huggingface.co/spaces/ytrsoymr/DataScience-AI-Mentor/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/ytrsoymr/DataScience-AI-Mentor/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/ytrsoymr/DataScience-AI-Mentor/resolve/main/Dockerfile
468 Bytes
| FROM python:3.9 | |
| # Set the working directory in the container | |
| WORKDIR /app | |
| # Copy the application files | |
| COPY . /app | |
| # Install dependencies | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| # Expose Streamlit's default port | |
| EXPOSE 8501 | |
| # Set environment variables (modify as needed) | |
| ENV GOOGLE_API_KEY="your_google_api_key" | |
| # Command to run the Streamlit app | |
| CMD ["streamlit", "run", "app.py", "--server.port=8501", "--server.address=0.0.0.0"] | |