balena-supervisor/docker-compose.dev.yml
Felipe Lalanne 23fae633ca Enable nodemon when using test:env
This avoids the need to rebuild the environment when making code changes
and running integration tests

Change-type: minor
2024-01-25 15:05:12 -03:00

21 lines
434 B
YAML

version: '2.3'
services:
balena-supervisor-sut:
build:
context: ./
dockerfile: Dockerfile.template
target: test
args:
ARCH: ${ARCH:-amd64}
environment:
LIVEPUSH: '1'
volumes:
- './src:/usr/src/app/src'
sut:
command: sleep infinity
volumes:
- './.mochapodrc.yml:/usr/src/app/.mochapodrc.yml'
- './src:/usr/src/app/src'
- './test:/usr/src/app/test'