Spaces:
Sleeping
Sleeping
| 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"] | |