build:指定了Dockerfile 的路径,.backend 代表在docker-compose.yml 所在目录下的backend 文件夹中。 ports:指定本机端口和容器端口的映射关系。
確定! 回上一頁