mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2024-12-18 13:26:26 +00:00
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:
parent
2f3e3d2e61
commit
23fae633ca
@ -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
|
||||
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user