Spaces:
Sleeping
Sleeping
| FROM python:3.11-slim | |
| # Set the working directory inside the container | |
| WORKDIR /app | |
| # Copy all files from the current directory to the container's working directory | |
| COPY . . | |
| # Install dependencies | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| # Expose the port Streamlit runs on | |
| EXPOSE 8501 | |
| # Command to run the Streamlit application | |
| CMD ["streamlit", "run", "streamlit_app.py", "--server.port", "8501", "--server.address", "0.0.0.0"] | |