一、准备镜像
编写:dockercompose.yml
version: "3.4"services: saas.demo.api: image: harbor.net.com/demos/saas.demo.api:latestcontainer_name: saas.demo.apienvironment:- ASPNETCORE_ENVIRONMENT=Productionports: - "5001:80"
部属:
docker-compose -f dockercompose.yml up -d
查看: