Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -6,7 +6,7 @@ ENV localrepoPath /tmp/okok
|
|
6 |
|
7 |
COPY <<EOF /start.sh
|
8 |
#!/bin/bash
|
9 |
-
retry=true
|
10 |
echo hello!
|
11 |
while [ "$retry" = "true" ]; do
|
12 |
echo starting!
|
@@ -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=false
|
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!
|
|
|
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!
|