1
1
mirror of https://github.com/leon-ai/leon.git synced 2024-12-27 18:55:01 +03:00
leon/docker-compose.yml
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 lines
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'