From 8cbd0162940d7a39da780bfe1cbae7411ada7788 Mon Sep 17 00:00:00 2001 From: kobenguyent Date: Fri, 15 Nov 2024 15:00:55 +0100 Subject: [PATCH] tryout testcontainers --- test/docker-compose.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/test/docker-compose.yml b/test/docker-compose.yml index 7c37d971d..7d2f1f0a5 100644 --- a/test/docker-compose.yml +++ b/test/docker-compose.yml @@ -68,10 +68,13 @@ services: json_server: <<: *test-service - entrypoint: [] - command: npm run json-server - expose: - - 8010 + image: testcontainers/json-server:latest + environment: + - JSON_SERVER_PORT=8010 + ports: + - 8010:8010 + volumes: + - ./data/rest/db.json:/data puppeteer-image: image: ghcr.io/puppeteer/puppeteer:22.4.1