Refactor dockerfile update compose example

This commit is contained in:
Mike Conrad
2025-05-21 16:35:00 -04:00
parent 3c44fcc062
commit f5aceea6fa
4 changed files with 16 additions and 11 deletions

16
compose.override.yml Normal file
View File

@ -0,0 +1,16 @@
---
services:
scraper:
build:
context: .
target: develop
env_file: .env.develop
volumes:
- ./:/app
- node_modules:/app/node_modules
command: /bin/sh -c "node ace migration:run --force && node ace serve --watch"
depends_on:
db:
condition: service_healthy
volumes:
node_modules: {}