mirror of
https://github.com/droidrun/droidrun.git
synced 2026-05-23 07:40:37 +00:00
26 lines
525 B
Docker
26 lines
525 B
Docker
FROM python:3.12.12
|
|
|
|
RUN groupadd -g 1000 droidrun \
|
|
&& useradd -m -u 1000 -g 1000 -s /bin/bash droidrun
|
|
|
|
RUN apt-get update && \
|
|
apt-get install -y --no-install-recommends \
|
|
android-tools-adb \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
USER droidrun
|
|
|
|
WORKDIR /droidrun
|
|
|
|
RUN curl -LsSf https://astral.sh/uv/install.sh | sh
|
|
|
|
ENV PATH="/home/droidrun/.local/bin:${PATH}"
|
|
|
|
COPY . .
|
|
|
|
RUN uv venv && \
|
|
uv pip install .[google,anthropic,openai,deepseek,ollama,openrouter]
|
|
|
|
ENTRYPOINT [".venv/bin/droidrun"]
|
|
|
|
CMD ["setup"] |