diff --git a/frontend/vue-gewoscout/Dockerfile.test b/frontend/vue-gewoscout/Dockerfile.test index bd78b8a..e6431a3 100644 --- a/frontend/vue-gewoscout/Dockerfile.test +++ b/frontend/vue-gewoscout/Dockerfile.test @@ -4,4 +4,6 @@ WORKDIR /app COPY package.json . RUN npm install --save-dev vitest && npm install -COPY . . \ No newline at end of file +COPY . . + +RUN npx vitest --reporter=json --outputFile=/app/test-results/test-output.json \ No newline at end of file diff --git a/frontend/vue-gewoscout/docker-compose.yaml b/frontend/vue-gewoscout/docker-compose.yaml index 9dd055f..70f2281 100644 --- a/frontend/vue-gewoscout/docker-compose.yaml +++ b/frontend/vue-gewoscout/docker-compose.yaml @@ -7,6 +7,6 @@ services: dockerfile: Dockerfile.test volumes: - ./test-results:/app/test-results - command: ["npx", "vitest", "--reporter=json", "--outputFile=/app/test-results/test-output.json"] + command: ["npx", "vitest"] \ No newline at end of file