Skip to content
Permalink
Browse files

Added docker run script

  • Loading branch information...
chen-robert committed Aug 27, 2019
1 parent 40a08df commit b5f56d0d7ec1c6fc753e04c882f7710174280c26
Showing with 10 additions and 1 deletion.
  1. +1 −1 Dockerfile
  2. +9 −0 docker.sh
@@ -11,4 +11,4 @@ COPY . .

ENV NODE_ENV production

CMD ["node", "index.js"]
CMD "./docker.sh"
@@ -0,0 +1,9 @@
#!/bin/sh
while ! curl $CIRRUS_ENDPOINT
do
echo "$(date) - still trying"
sleep 1
done
echo "$(date) - connected successfully"

node index.js

0 comments on commit b5f56d0

Please sign in to comment.
You can’t perform that action at this time.