We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 016d7f5 commit 136feeaCopy full SHA for 136feea
2 files changed
.github/workflows/workflow.yml
@@ -27,8 +27,14 @@ jobs:
27
- name: Unit tests
28
run: npm run test:cov
29
30
- - name: Build and run containers
31
- run: docker compose up --build -d
+ - name: Start postgres
+ run: docker compose up postgres -d
32
+
33
+ - name: Run migrations
34
+ run: docker compose up --build migration
35
36
+ - name: Start remaining containers
37
+ run: docker compose up api -d
38
39
- name: Run acceptance tests
40
run: npm run test:acceptance
prisma/Dockerfile
@@ -12,6 +12,4 @@ RUN npm ci --verbose
12
RUN chmod +x /app/wait-for-it.sh
13
RUN chmod +x /app/entrypoint.sh
14
15
-ENTRYPOINT ["/app/entrypoint.sh"]
16
-
17
-CMD ["sh"]
+ENTRYPOINT ["/app/entrypoint.sh"]
0 commit comments