Move NODE_TLS_REJECT_UNAUTHORIZED to docker build

This commit is contained in:
Gustavo Trott 2022-09-08 16:27:08 -03:00
parent ce8d839717
commit 394c40f79d

View File

@ -248,10 +248,6 @@ if [ -d ~/.oh-my-zsh ]; then
fi fi
#Set NODE_TLS_REJECT_UNAUTHORIZED=0 to make node allow image from self-signed certificate
docker exec $NAME bash -c "echo NODE_TLS_REJECT_UNAUTHORIZED=0 >> /usr/share/meteor/bundle/bbb-html5-with-roles.conf"
docker exec $NAME bash -c "echo NODE_TLS_REJECT_UNAUTHORIZED=0 >> /etc/environment"
echo "------------------" echo "------------------"
echo "Docker infos" echo "Docker infos"
echo "IP $DOCKERIP" echo "IP $DOCKERIP"