| FROM python:3.10-slim | |
| WORKDIR /usr/src/app | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| COPY gradio_app.py . | |
| EXPOSE 7860 | |
| ENV GRADIO_SERVER_NAME="0.0.0.0" | |
| CMD ["python", "gradio_app.py"] | |
| FROM python:3.10-slim | |
| WORKDIR /usr/src/app | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| COPY gradio_app.py . | |
| EXPOSE 7860 | |
| ENV GRADIO_SERVER_NAME="0.0.0.0" | |
| CMD ["python", "gradio_app.py"] | |