From a1a12c4f0ccbc770aba266b824329a3108af08ec Mon Sep 17 00:00:00 2001 From: Bram Kelchtermans Date: Mon, 19 Aug 2024 17:00:34 +0200 Subject: [PATCH] chore: Update Dockerfile to fix Teleport installation command and create teleport configuration file --- Dockers/remote-react-container/entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockers/remote-react-container/entrypoint.sh b/Dockers/remote-react-container/entrypoint.sh index 0ddf864..99985bb 100644 --- a/Dockers/remote-react-container/entrypoint.sh +++ b/Dockers/remote-react-container/entrypoint.sh @@ -81,7 +81,7 @@ git config --global user.email $GIT_EMAIL HOSTNAME=$(hostname) ## If teleport token is set and there is no teleport.yaml file, create one -if [ -n "$TELEPORT_TOKEN" ] && [! -f /etc/teleport.yaml]; then +if [ -n "$TELEPORT_TOKEN" ] && [ ! -f /etc/teleport.yaml ]; then teleport configure --roles=node --token=$TELEPORT_TOKEN --proxy=$TELEPORT_URL --no-acme -o file echo "Created teleport configuration file" fi