mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-31 09:44:59 +00:00
24 lines
607 B
Docker
24 lines
607 B
Docker
FROM python:3.10-slim AS base
|
|
|
|
RUN apt-get update && \
|
|
apt-get install --no-install-recommends -y build-essential git libportaudio2 && \
|
|
rm -rf /var/lib/apt/lists/*
|
|
|
|
WORKDIR /app
|
|
|
|
FROM base AS aider-full
|
|
|
|
COPY . /aider
|
|
RUN pip install --no-cache-dir /aider[help,browser,playwright] --extra-index-url https://download.pytorch.org/whl/cpu && \
|
|
rm -rf /aider
|
|
RUN playwright install --with-deps chromium
|
|
|
|
ENTRYPOINT ["aider"]
|
|
|
|
FROM base AS aider
|
|
|
|
COPY . /aider
|
|
RUN pip install --no-cache-dir /aider --extra-index-url https://download.pytorch.org/whl/cpu && \
|
|
rm -rf /aider
|
|
|
|
ENTRYPOINT ["aider"]
|