Skip to content

Commit

Permalink
set transformers cache env var in docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
winglian committed Jul 17, 2023
1 parent 990eb26 commit 0da72e7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docker/Dockerfile-runpod
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
ARG BASE_TAG=main
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

RUN apt install --yes --no-install-recommends openssh-server tmux && \
Expand Down

0 comments on commit 0da72e7

Please sign in to comment.