Merge pull request #149 from OpenAccess-AI-Collective/docker-clone-axolotl
Browse files- 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  | 
| 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 \
         | 
