version: '3'
services:
hyperf-skeleton:
container_name: study
image: hyperf-skeleton
build:
context: .
volumes:
- ./:/opt/www
ports:
- 9501:9501
environment:
- APP_ENV=dev
- SCAN_CACHEABLE=false
entrypoint: ["./entrypoint.sh", 'server:watch'] # 开发环境启动命令