chore(server): faster shutdown (#5577)

* chore(server): faster shutdown

* fix: e2e test entrypoint
This commit is contained in:
Jason Rasmussen
2023-12-08 21:58:07 -05:00
committed by GitHub
parent 92b4284b5a
commit 6acd8eb4ba
4 changed files with 8 additions and 3 deletions

View File

@@ -29,7 +29,7 @@ x-server-build: &server-common
services:
immich-server:
container_name: immich_server
command: npm run start:debug immich
command: [ "/usr/src/app/bin/immich-dev", "immich" ]
<<: *server-common
ports:
- 3001:3001
@@ -40,7 +40,7 @@ services:
immich-microservices:
container_name: immich_microservices
command: npm run start:debug microservices
command: [ "/usr/src/app/bin/immich-dev", "microservices" ]
<<: *server-common
# extends:
# file: hwaccel.yml

View File

@@ -9,7 +9,8 @@ services:
context: ../
dockerfile: server/Dockerfile
target: dev
command: npm run test:e2e
entrypoint: [ "/usr/local/bin/npm", "run" ]
command: test:e2e
volumes:
- ../server:/usr/src/app
- /usr/src/app/node_modules