| FROM archlinux:base | |
| ENV UV_INSTALL_DIR="/usr/local/bin" | |
| WORKDIR /app | |
| COPY app.py . | |
| RUN pacman -Syu --noconfirm && \ | |
| pacman -S --noconfirm curl && \ | |
| pacman -Scc --noconfirm && \ | |
| curl -LsSf https://astral.sh/uv/install.sh | sh && \ | |
| uv init --python 3.14 --no-readme --vcs none . && \ | |
| uv add fastapi "httpx[http2]" uvicorn parsel py_fake_useragent pydantic | |
| CMD ["uv", "run", "app.py"] |