use existing state of repo to build, not the checkout

This commit is contained in:
Wing Lian
2023-05-08 03:29:48 -04:00
parent b5fe063687
commit 3b4b476828

View File

@@ -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]