add start command to react docker
Build and Push Docker Images / build-and-push (push) Successful in 7m46s

This commit is contained in:
2025-02-23 21:20:19 +01:00
parent c5ea2f1065
commit aadc62794d
2 changed files with 5 additions and 2 deletions
+4 -1
View File
@@ -112,5 +112,8 @@ sed -i "s/^ nodename:.*/ nodename: $HOSTNAME/" "$CONFIG_FILE"
# Start Teleport in the background
nohup teleport start &
# Use NODE_START_COMMAND if set, otherwise default to start:dev
START_COMMAND=${NODE_START_COMMAND:-"start:dev"}
# Start the application with pm2
exec pm2-runtime "yarn start:dev"
exec pm2-runtime "yarn $START_COMMAND"