wallace5303/dnnmmp

用项目中的dockerfile安装yapi,安装完成后,yapi映射的端口为空

Closed this issue · 1 comments

CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
7b6948cbfea5 dnmp1_yapi "bash /wait-for-it.s…" 49 minutes ago Restarting (2) 2 seconds ago yapi

由于是直接拷贝文件,Windows下换行的“\r”到了Linux环境下不能够识别了,因为Linux环境下默认的换行符为“\n”,在build的时候出现了错误 $'\r': command not found 导致的