I didn’t quite understand the difference between Docker CMD and ENTRYPOINT.
CMD
ENTRYPOINT
This could help you: