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
This commit is contained in:
Felipe Lalanne 2024-01-25 14:30:13 -03:00
parent 2f3e3d2e61
commit 23fae633ca
2 changed files with 12 additions and 0 deletions

View File

@ -127,6 +127,7 @@ COPY --from=build-base /usr/src/app/node_modules ./node_modules
#dev-cmd-live=LIVEPUSH=1 ./entry.sh
# Copy build files
COPY entry.sh .
COPY build-utils ./build-utils
COPY webpack.config.js tsconfig.json tsconfig.release.json tsconfig.js.json .mochapodrc.yml ./
COPY typings ./typings

View File

@ -1,6 +1,17 @@
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: