1
0
mirror of https://github.com/chillzhuang/Sword synced 2024-12-23 01:19:24 +08:00
Sword/docker/docker-compose.yml

22 lines
407 B
YAML
Raw Normal View History

2019-02-13 17:16:39 +08:00
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: