fix(docker): trust /repos for git (safe.directory) so launcher commit/push works

This commit is contained in:
Dev Agent
2026-06-02 20:18:44 +03:00
parent 553e0aae0c
commit 5de8462a13

View File

@@ -1,6 +1,8 @@
FROM python:3.12-slim
WORKDIR /app
RUN apt-get update -qq && apt-get install -y -qq openssh-client git && rm -rf /var/lib/apt/lists/*
# git operations run as root over bind-mounted /repos (may be owned by host uid) -> trust it.
RUN git config --system --add safe.directory '*'
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY src/ ./src/