From 3b4b476828e6957a508d1b9b6bbf8f100e08ce92 Mon Sep 17 00:00:00 2001 From: Wing Lian Date: Mon, 8 May 2023 03:29:48 -0400 Subject: [PATCH] use existing state of repo to build, not the checkout --- docker/Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index c122f1de1..3d3373eb1 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -12,5 +12,6 @@ WORKDIR /workspace RUN python3 -m pip install -U --no-cache-dir pydantic ARG REF=main -RUN git clone https://github.com/winglian/axolotl && cd axolotl && git checkout $REF && \ - pip install -e .[int4] +RUN mkdir axolotl +COPY . axolotl/ +RUN pip install -e .[int4]