Merge pull request #283 from OpenAccess-AI-Collective/docker-git-fetch
git fetch fix for docker
This commit is contained in:
@@ -22,5 +22,9 @@ RUN cd axolotl && \
|
|||||||
pip install -e .; \
|
pip install -e .; \
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# fix so that git fetch/pull from remote works
|
||||||
|
RUN git config remote.origin.fetch "+refs/heads/*:refs/remotes/origin/*" && \
|
||||||
|
git config --get remote.origin.fetch
|
||||||
|
|
||||||
# helper for huggingface-login cli
|
# helper for huggingface-login cli
|
||||||
RUN git config --global credential.helper store
|
RUN git config --global credential.helper store
|
||||||
|
|||||||
@@ -1,6 +1,10 @@
|
|||||||
ARG BASE_TAG=main
|
ARG BASE_TAG=main
|
||||||
FROM winglian/axolotl:$BASE_TAG
|
FROM winglian/axolotl:$BASE_TAG
|
||||||
|
|
||||||
|
ENV HF_DATASETS_CACHE="/workspace/data/huggingface-cache/datasets"
|
||||||
|
ENV HUGGINGFACE_HUB_CACHE="/workspace/data/huggingface-cache/hub"
|
||||||
|
ENV TRANSFORMERS_CACHE="/workspace/data/huggingface-cache/hub"
|
||||||
|
|
||||||
COPY scripts/runpod-entrypoint.sh /root/runpod-entrypoint.sh
|
COPY scripts/runpod-entrypoint.sh /root/runpod-entrypoint.sh
|
||||||
|
|
||||||
RUN apt install --yes --no-install-recommends openssh-server tmux && \
|
RUN apt install --yes --no-install-recommends openssh-server tmux && \
|
||||||
|
|||||||
Reference in New Issue
Block a user