add start command to react docker
Build and Push Docker Images / build-and-push (push) Successful in 7m46s
Build and Push Docker Images / build-and-push (push) Successful in 7m46s
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -1 +1 @@
|
||||
2.1
|
||||
3.0
|
||||
Reference in New Issue
Block a user