Spaces:
Runtime error
Runtime error
| FROM python:3.10 | |
| WORKDIR /app | |
| COPY . /app/ | |
| RUN pip install --no-cache-dir --upgrade -r requirements.txt | |
| # Expose the port Streamlit will run on | |
| EXPOSE 8501 | |
| # Command to run Streamlit app when the container starts | |
| CMD ["streamlit", "run", "streamlit_app.py"] | |
| #CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"] |