Remove the /aider directory after installing the package.

This commit is contained in:
Paul Gauthier 2023-10-18 13:19:21 -07:00
parent 8561bfde33
commit a6a49b13bb

View file

@ -1,8 +1,6 @@
FROM python:3.10-slim FROM python:3.10-slim
RUN apt-get update && apt-get install -y git && rm -rf /var/lib/apt/lists/* RUN apt-get update && apt-get install -y git && rm -rf /var/lib/apt/lists/*
COPY . /aider COPY . /aider
RUN pip install --upgrade pip && pip install /aider RUN pip install --upgrade pip && pip install /aider && rm -rf /aider
WORKDIR /app WORKDIR /app
ENTRYPOINT ["aider"] ENTRYPOINT ["aider"]