1
0
mirror of https://github.com/chillzhuang/Sword synced 2024-12-22 17:09:24 +08:00
Sword/docker/docker-compose.yml
2019-02-13 17:16:39 +08:00

22 lines
407 B
YAML

version: "3.5"
services:
ant-design-pro_build:
build: ../
container_name: "ant-design-pro_build"
volumes:
- dist:/usr/src/app/dist
ant-design-pro_web:
image: nginx
ports:
- 80:80
container_name: "ant-design-pro_web"
restart: unless-stopped
volumes:
- dist:/usr/share/nginx/html:ro
- ./nginx.conf:/etc/nginx/conf.d/default.conf
volumes:
dist: