Updated Dockerfile to upgrade pip before installing dependencies.

This commit is contained in:
Paul Gauthier 2023-10-22 11:22:17 -07:00
parent 7871186e0f
commit 98a6d383ab

View file

@ -1,8 +1,8 @@
FROM python:3.10-slim
RUN apt-get update && apt-get install -y less git
COPY requirements.txt /aider/requirements.txt
RUN pip install --upgrade pip
RUN pip install lox typer pandas matplotlib imgcat aider-chat
RUN pip install --upgrade pip && pip install -r /aider/requirements.txt
RUN pip install -r /aider/requirements.txt
RUN git config --global --add safe.directory /aider
WORKDIR /aider