ajout pour builder l'image seulement

This commit is contained in:
Thomas Briffard 2020-01-25 16:37:26 -05:00
parent 6f2a85c013
commit 7af46ca7f6

View File

@ -22,4 +22,7 @@ if [ "$1" == "up" ]; then
elif [ "$1" == "down" ]; then
echo "Arrêt de theia..."
docker-compose down
elif [ "$1" == "build" ]; then
VPN_PASSWORD=$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 10 | head -n 1)
docker-compose build theia
fi