Think before you speak, read before you think.

Dockerfile

CMD

CMD 是 docker 启动时运行的命令,在 Dockerfile 中只能指定一条 CMD 命令

EXPOSE

暴露端口


Comments

One response to “Dockerfile”

  1. 路过~混个脸熟。

Leave a Reply

Your email address will not be published. Required fields are marked *