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:
|
||||
- .:/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:
|
||||
build: .
|
||||
command: npm run start:dev integration-testing
|
||||
ports:
|
||||
- "4000:4000"
|
||||
env_file: .env
|
||||
depends_on:
|
||||
- redis
|
||||
volumes:
|
||||
@@ -24,7 +26,6 @@ services:
|
||||
test:
|
||||
build: .
|
||||
command: npm run test
|
||||
env_file: .env
|
||||
depends_on:
|
||||
- redis
|
||||
volumes:
|
||||
|
||||
Reference in New Issue
Block a user