mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-28 00:05:01 +00:00
16 lines
No EOL
559 B
Docker
16 lines
No EOL
559 B
Docker
FROM python:3.10-slim
|
|
|
|
COPY . /aider
|
|
|
|
# Unfortunately to build the multi-arch docker image we need `build-essential` for amd64.
|
|
# Apparently py-tree-sitter-languages doesn't have a pre-built binary wheel?
|
|
# Apparently Playwright needs build-essentials too.
|
|
|
|
RUN apt-get update && \
|
|
apt-get install --no-install-recommends -y build-essential git libportaudio2 && \
|
|
rm -rf /var/lib/apt/lists/* && \
|
|
pip install --no-cache-dir /aider --extra-index-url https://download.pytorch.org/whl/cpu && \
|
|
rm -rf /aider
|
|
|
|
WORKDIR /app
|
|
ENTRYPOINT ["aider"] |