Spaces:
Build error
Build error
Gosse Minnema
commited on
Commit
•
11fccf5
1
Parent(s):
4f77cfc
Add git-lfs install back to dockerfile
Browse files- Dockerfile +1 -0
- docker_commands.sh +0 -5
Dockerfile
CHANGED
@@ -12,5 +12,6 @@ RUN chmod -R 777 /.cache
|
|
12 |
RUN chmod -R 777 /.local
|
13 |
RUN curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | bash
|
14 |
RUN apt-get install git-lfs
|
|
|
15 |
RUN pip install -v -r requirements.txt
|
16 |
CMD ["sh", "docker_commands.sh"]
|
|
|
12 |
RUN chmod -R 777 /.local
|
13 |
RUN curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | bash
|
14 |
RUN apt-get install git-lfs
|
15 |
+
RUN git lfs install
|
16 |
RUN pip install -v -r requirements.txt
|
17 |
CMD ["sh", "docker_commands.sh"]
|
docker_commands.sh
CHANGED
@@ -1,11 +1,6 @@
|
|
1 |
# cd spanfinder/
|
2 |
# python -m sociolome.lome_webserver &
|
3 |
# cd ..
|
4 |
-
cd /.cache
|
5 |
-
curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | bash
|
6 |
-
apt-get install -y git-lfs
|
7 |
-
git lfs install
|
8 |
-
cd -
|
9 |
git clone https://gossminn:$HF_TOKEN@huggingface.co/datasets/responsibility-framing/sociofillmore-datasets /.cache/sfdata
|
10 |
mv -v /.cache/sfdata/* /app/
|
11 |
|
|
|
1 |
# cd spanfinder/
|
2 |
# python -m sociolome.lome_webserver &
|
3 |
# cd ..
|
|
|
|
|
|
|
|
|
|
|
4 |
git clone https://gossminn:$HF_TOKEN@huggingface.co/datasets/responsibility-framing/sociofillmore-datasets /.cache/sfdata
|
5 |
mv -v /.cache/sfdata/* /app/
|
6 |
|