Fix deployment test with simplified Nginx container
- Replace complex Node.js app with simple Nginx container - Add dynamic port allocation to prevent conflicts - Improve test reliability and cleanup - Remove dependency on Docker Compose for this test
This commit is contained in:
9
tests/docker-compose.test.yml
Normal file
9
tests/docker-compose.test.yml
Normal file
@@ -0,0 +1,9 @@
|
||||
version: '3'
|
||||
services:
|
||||
app:
|
||||
image: ${TEST_APP}
|
||||
ports:
|
||||
- "8081:8080"
|
||||
environment:
|
||||
- NODE_ENV=test
|
||||
restart: unless-stopped
|
||||
Reference in New Issue
Block a user