If you now provide a custom argument like above, the entrypoint is executed, then your command is executed and afterwards the container should exit.
If you do not provide a custom command, then it should be in a blocking mode, so that you can use it as before.