chore: Update Dockerfile to fix Teleport installation command and create teleport configuration file
Build and Push Docker Images / build-and-push (push) Has been cancelled

This commit is contained in:
2024-09-08 15:00:58 +02:00
parent 44d15c46e5
commit b5ba0e1df2
5 changed files with 22 additions and 1013 deletions
+4 -2
View File
@@ -80,6 +80,7 @@ else
echo "Error: Environment file not found at /environment/.dev.env"
exit 1
fi
# Set the git user and email
git config --global user.name $GIT_USER
git config --global user.email $GIT_EMAIL
@@ -94,5 +95,6 @@ CONFIG_FILE="/etc/teleport.yaml"
sed -i "s/^ nodename:.*/ nodename: $HOSTNAME/" "$CONFIG_FILE"
nohup teleport start &
# Start the application with pm2
exec pm2-runtime "yarn dev"
# Start the application with PM2 using the ecosystem file
exec pm2-runtime start /ecosystems/ecosystem.develop.js