18 lines
478 B
YAML
18 lines
478 B
YAML
version: '3.8'
|
|
|
|
services:
|
|
aura_central:
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile
|
|
command: sh -lc "if [ ! -d node_modules ] || [ -z \"$(ls -A node_modules 2>/dev/null)\" ] || [ ! -d node_modules/@rollup/rollup-linux-arm64-musl ]; then npm ci --include=optional; fi; npm run dev"
|
|
ports:
|
|
- "3000:3000"
|
|
volumes:
|
|
- .:/app
|
|
- /app/node_modules
|
|
environment:
|
|
- GEMINI_API_KEY=${GEMINI_API_KEY}
|
|
stdin_open: true
|
|
tty: true
|