winglian commited on
Commit
328c3bc
·
unverified ·
2 Parent(s): 4ab0c8b 5cd2126

Merge pull request #149 from OpenAccess-AI-Collective/docker-clone-axolotl

Browse files
Files changed (1) hide show
  1. docker/Dockerfile +1 -2
docker/Dockerfile CHANGED
@@ -13,8 +13,7 @@ RUN pip3 install --force-reinstall "peft @ git+https://github.com/huggingface/pe
13
  "accelerate @ git+https://github.com/huggingface/accelerate.git@main" \
14
  "transformers @ git+https://github.com/huggingface/transformers.git@main"
15
 
16
- RUN mkdir axolotl
17
- COPY . axolotl/
18
  # If AXOLOTL_EXTRAS is set, append it in brackets
19
  RUN cd axolotl && \
20
  if [ "$AXOLOTL_EXTRAS" != "" ] ; then \
 
13
  "accelerate @ git+https://github.com/huggingface/accelerate.git@main" \
14
  "transformers @ git+https://github.com/huggingface/transformers.git@main"
15
 
16
+ RUN git clone --depth=1 https://github.com/OpenAccess-AI-Collective/axolotl.git
 
17
  # If AXOLOTL_EXTRAS is set, append it in brackets
18
  RUN cd axolotl && \
19
  if [ "$AXOLOTL_EXTRAS" != "" ] ; then \