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:
1 parent
c5ea2f1065
commit
aadc62794d
2 files changed
+5
-2
No files matched your search
@@ -112,5 +112,8 @@ sed -i "s/^ nodename:.*/ nodename: $HOSTNAME/" "$CONFIG_FILE"
|
|||||||
# Start Teleport in the background
|
# Start Teleport in the background
|
||||||
nohup teleport start &
|
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
|
# 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