FROM ghcr.io/astral-sh/uv:python3.12-bookworm-slim # Install Dev Mode required packages + useful tools RUN apt-get update && \ apt-get install -y \ bash \ git git-lfs \ wget curl procps \ htop vim nano \ jq \ tmux \ build-essential && \ rm -rf /var/lib/apt/lists/* # Set up user with uid 1000 (required for Dev Mode) RUN useradd -m -u 1000 user USER user ENV HOME=/home/user \ PATH=/home/user/.local/bin:$PATH WORKDIR /app COPY --chown=user . /app EXPOSE 7860 # Just keep the container alive - agent uses SSH to interact CMD ["python", "-m", "http.server", "7860"]