chore(backend): update test execution strategy in Dockerfile
Update Jest test runner configuration to use `--runInBand` flag in Docker build process for more reliable test execution in containerized environment.
This commit is contained in:
+1
-1
@@ -17,7 +17,7 @@ COPY prisma ./prisma
|
|||||||
COPY src ./src
|
COPY src ./src
|
||||||
COPY tsconfig.json nest-cli.json ./
|
COPY tsconfig.json nest-cli.json ./
|
||||||
RUN ./node_modules/.bin/prisma generate
|
RUN ./node_modules/.bin/prisma generate
|
||||||
RUN npm test
|
RUN npm test -- --runInBand
|
||||||
RUN npm run build
|
RUN npm run build
|
||||||
|
|
||||||
# Stage 3: Kör applikationen
|
# Stage 3: Kör applikationen
|
||||||
|
|||||||
Reference in New Issue
Block a user