Gosse Minnema commited on
Commit
f7e2044
·
1 Parent(s): 8b8f5d5

Don't download dataset at build time to avoid storage problems

Browse files
Files changed (1) hide show
  1. Dockerfile +0 -3
Dockerfile CHANGED
@@ -14,9 +14,6 @@ RUN chmod -R 777 /.local
14
  RUN curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | bash
15
  RUN apt-get install git-lfs
16
  RUN git lfs install
17
- RUN --mount=type=secret,id=HF_TOKEN,mode=0444,required=true \
18
- git clone --depth=1 --branch=main https://gossminn:$(cat /run/secrets/HF_TOKEN)@huggingface.co/datasets/responsibility-framing/sociofillmore-datasets /.cache/sfdata
19
- RUN chmod -R 777 /.cache/sfdata
20
 
21
  RUN pip install -v -r requirements.txt
22
  CMD ["sh", "docker_commands.sh"]
 
14
  RUN curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | bash
15
  RUN apt-get install git-lfs
16
  RUN git lfs install
 
 
 
17
 
18
  RUN pip install -v -r requirements.txt
19
  CMD ["sh", "docker_commands.sh"]