FROM python:3.10-slim WORKDIR /code COPY . . RUN pip install --upgrade pip RUN pip install -r requirements.txt EXPOSE 7860 CMD ["python", "app.py"]