看dockerfile:FROMalpine:latestMAINTAINERalexalexwhen@gmail.comRUNapk--updateaddnginxCOPY./usr/share/nginx/htmlEXPOSE80CMD[“nginx”,“-g”,“daemonoff;”]极简化的利用dockerfile和base镜像和github的特性,能少一句就少一句,动动手试一下...