wallace5303 / dnnmmp

基于docker的开发者集成环境 (docker,nodejs,php,nginx,mongo,mysql,redis等)
Apache License 2.0
273 stars 60 forks source link

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

Closed JacentLeung closed 4 years ago

JacentLeung commented 4 years ago

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

JacentLeung commented 4 years ago

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