mirror of
https://github.com/brendan-ch/project-inter-server.git
synced 2026-04-17 07:50:31 +00:00
remove .env file from testing and app-integration-test flows
This commit is contained in:
@@ -10,12 +10,14 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- .:/usr/src/app
|
- .:/usr/src/app
|
||||||
|
|
||||||
|
# Note that neither app-integration-test or test modes require env variables,
|
||||||
|
# need to find a way to pass variables without .env if this changes
|
||||||
|
|
||||||
app-integration-test:
|
app-integration-test:
|
||||||
build: .
|
build: .
|
||||||
command: npm run start:dev integration-testing
|
command: npm run start:dev integration-testing
|
||||||
ports:
|
ports:
|
||||||
- "4000:4000"
|
- "4000:4000"
|
||||||
env_file: .env
|
|
||||||
depends_on:
|
depends_on:
|
||||||
- redis
|
- redis
|
||||||
volumes:
|
volumes:
|
||||||
@@ -24,7 +26,6 @@ services:
|
|||||||
test:
|
test:
|
||||||
build: .
|
build: .
|
||||||
command: npm run test
|
command: npm run test
|
||||||
env_file: .env
|
|
||||||
depends_on:
|
depends_on:
|
||||||
- redis
|
- redis
|
||||||
volumes:
|
volumes:
|
||||||
|
|||||||
Reference in New Issue
Block a user