chore: archive previous Aider worker
This commit is contained in:
19
old_2026-08-31/Dockerfile
Normal file
19
old_2026-08-31/Dockerfile
Normal file
@@ -0,0 +1,19 @@
|
||||
FROM python:3.12-slim
|
||||
|
||||
RUN apt-get update \
|
||||
&& apt-get install -y --no-install-recommends \
|
||||
composer git nodejs npm openssh-client php-cli php-curl php-mbstring php-mysql php-xml php-zip unzip \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
WORKDIR /app
|
||||
COPY pyproject.toml README.md ./
|
||||
COPY src ./src
|
||||
RUN --mount=type=cache,target=/root/.cache/pip \
|
||||
pip install --retries 10 --timeout 120 ".[agent]"
|
||||
|
||||
RUN useradd --create-home --uid 10001 coder \
|
||||
&& mkdir -p /workspaces \
|
||||
&& chmod 700 /home/coder
|
||||
|
||||
ENTRYPOINT ["lai-agent"]
|
||||
CMD ["worker"]
|
||||
Reference in New Issue
Block a user