项目文件夹

文件
T
Divlo ede7e78bd6 chore(docker): fix docker in dev env and fix wrong LEON_PORT (#240)
* chore(docker-dev): ignore node_modules in the volume

* chore(docker): fix wrong LEON_PORT env variable
2021-04-28 12:01:26 +08:00

15 行
298 B
YAML

version: '3.0'
services:
leon-ai:
container_name: 'leon-ai'
build:
context: './'
image: 'leonai/leon'
ports:
- '${LEON_PORT:-1337}:${LEON_PORT:-1337}'
environment:
LEON_PORT: ${LEON_PORT:-1337}
stdin_open: true
tty: true
command: 'npm run start'