-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdeploy.sh
29 lines (25 loc) · 1.07 KB
/
deploy.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#!/bin/sh
# crypto-wallet-status deploy.sh
echo " "
if [ "$1" = "-debug" ]
then
echo "************************************************************************"
echo "* deploy.sh -debug (START) *********************************************"
echo "************************************************************************"
# set -x enables a mode of the shell where all executed commands
# are printed to the terminal.
set -x
echo " "
else
echo "************************************************************************"
echo "* deploy.sh (START) ****************************************************"
echo "************************************************************************"
echo " "
fi
echo "Deploy to Docker"
docker run --name crypto-wallet-status -dit jeffdecola/crypto-wallet-status
echo " "
echo "************************************************************************"
echo "* deploy.sh (END) ******************************************************"
echo "************************************************************************"
echo " "