Update Dockerfile
Browse files- Dockerfile +3 -3
Dockerfile
CHANGED
@@ -6,9 +6,9 @@ ENV localrepoPath /tmp/okok
|
|
6 |
|
7 |
COPY <<EOF /start.sh
|
8 |
#!/bin/bash
|
9 |
-
retry=
|
10 |
echo hello!
|
11 |
-
while [
|
12 |
echo starting!
|
13 |
export Interval=10000 &&\
|
14 |
git clone https://github.com/edwagbb/GitPipeLocal.git /tmp/gitpipelocal &&\
|
@@ -19,7 +19,7 @@ while [ "$retry" = "true" ]; do
|
|
19 |
export func_dir=$localrepoPath/functions &&\
|
20 |
export static_dir=$localrepoPath/static &&\
|
21 |
(node index.js & node /tmp/gitpipelocal/index.js) &&\
|
22 |
-
retry=
|
23 |
sleep 10
|
24 |
done
|
25 |
echo ok!
|
|
|
6 |
|
7 |
COPY <<EOF /start.sh
|
8 |
#!/bin/bash
|
9 |
+
retry=true
|
10 |
echo hello!
|
11 |
+
while [ $retry = true ]; do
|
12 |
echo starting!
|
13 |
export Interval=10000 &&\
|
14 |
git clone https://github.com/edwagbb/GitPipeLocal.git /tmp/gitpipelocal &&\
|
|
|
19 |
export func_dir=$localrepoPath/functions &&\
|
20 |
export static_dir=$localrepoPath/static &&\
|
21 |
(node index.js & node /tmp/gitpipelocal/index.js) &&\
|
22 |
+
retry=false
|
23 |
sleep 10
|
24 |
done
|
25 |
echo ok!
|