Spaces:
Paused
Paused
nroggendorff
commited on
Commit
•
f067c4e
1
Parent(s):
e0747df
Upload folder using huggingface_hub
Browse files- Dockerfile +5 -5
Dockerfile
CHANGED
@@ -9,11 +9,11 @@ ARG REPO_URL=https://github.com/nroggendorff/train-llama.git
|
|
9 |
WORKDIR /workspace
|
10 |
RUN git clone $REPO_URL .
|
11 |
|
12 |
-
RUN dockerd && \
|
13 |
-
while ! docker info > /dev/null 2>&1; do\
|
14 |
-
echo 'Waiting for Docker daemon...'\
|
15 |
-
sleep 1\
|
16 |
-
done
|
17 |
|
18 |
RUN --mount=type=secret,id=HF_TOKEN,mode=0444 \
|
19 |
docker build -f Build/Dockerfile \
|
|
|
9 |
WORKDIR /workspace
|
10 |
RUN git clone $REPO_URL .
|
11 |
|
12 |
+
RUN bash -c "dockerd && \
|
13 |
+
while ! docker info > /dev/null 2>&1; do \
|
14 |
+
echo 'Waiting for Docker daemon...'; \
|
15 |
+
sleep 1; \
|
16 |
+
done"
|
17 |
|
18 |
RUN --mount=type=secret,id=HF_TOKEN,mode=0444 \
|
19 |
docker build -f Build/Dockerfile \
|