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