mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-20 12:24:59 +00:00
make the docker image a bit smaller
This commit is contained in:
parent
ee3f3a44fd
commit
790f7ddee3
1 changed files with 6 additions and 2 deletions
|
@ -1,5 +1,9 @@
|
|||
FROM python:3.10-slim
|
||||
RUN apt-get update && apt-get install -y git && rm -rf /var/lib/apt/lists/* && \
|
||||
pip install --no-cache-dir /aider && rm -rf /aider
|
||||
COPY . /aider
|
||||
RUN apt-get update && \
|
||||
apt-get install --no-install-recommends -y git && \
|
||||
rm -rf /var/lib/apt/lists/* && \
|
||||
pip install --no-cache-dir /aider && \
|
||||
rm -rf /aider
|
||||
WORKDIR /app
|
||||
ENTRYPOINT ["aider"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue