Spaces:
Runtime error
Runtime error
| # Gunakan base image Python | |
| FROM python:3.10-slim | |
| # Set working directory | |
| WORKDIR /app | |
| # Salin dan install dependencies | |
| COPY requirements.txt /app/ | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| # Salin seluruh aplikasi ke dalam container | |
| COPY src /app/src | |
| # Jalankan Streamlit | |
| CMD ["streamlit", "run", "src/streamlit_app.py", "--server.port", "7860"] | |