| FROM gradio/gradio:4.36.1-py310 | |
| USER root | |
| RUN apt-get update && \ | |
| apt-get install -y --no-install-recommends wireguard-tools && \ | |
| apt-get clean && rm -rf /var/lib/apt/lists/* | |
| USER user | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| COPY app.py . | |
| CMD ["python", "app.py"] | |