title: How to use CMD in Dockerfile for a command that contains flag?
body: <p>How can I write the following command that contains a flag named <code>--checkpoint</code> using <code>CMD</code> in Dockerfile?</p>
  
  <pre><code>python3 --checkpoint /usr/src/app/logs-tacotron/model.ckpt-92000 /usr/src/app/demo_server.py
  </code></pre>
  
  <p>demo_server.py:</p>
  
  <pre><code>import argparse
  
  if __name__ == '__main__':
      parser = argparse.ArgumentParser()
      parser.add_argument('--checkpoint', required=True)
      args = parser.parse_args()
      print(args.checkpoint)
  </code></pre>
  
  <p>Thanks in advance.</p>