| FROM python:3.10 | |
| WORKDIR /app | |
| # Install Python deps first | |
| COPY requirements.txt /app/requirements.txt | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| # Copy app code | |
| COPY . /app | |
| ENV PORT=7860 | |
| EXPOSE 7860 | |
| CMD ["python", "app.py"] | |
| FROM python:3.10 | |
| WORKDIR /app | |
| # Install Python deps first | |
| COPY requirements.txt /app/requirements.txt | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| # Copy app code | |
| COPY . /app | |
| ENV PORT=7860 | |
| EXPOSE 7860 | |
| CMD ["python", "app.py"] | |