Hi i am wondering if it possible to run two scripts in same time automaticly on docker container start . First script have to run client application, and the second run server app as background.
You can use CMD
in your Dockerfile
and use command &
to run two command in parallel:
CMD server_command & client_command
(where server_command
is the command used to start the server and client_command
is the command used to start the client)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With