mirror of
https://github.com/immich-app/immich.git
synced 2024-12-22 01:47:08 +02:00
Fixed npm run start:prod not able to find build directory (#83)
This commit is contained in:
parent
ac0ad98b55
commit
23ba651705
@ -6,7 +6,7 @@ services:
|
||||
build:
|
||||
context: ../server
|
||||
dockerfile: ../server/Dockerfile
|
||||
command: npm run start:prod
|
||||
entrypoint: ["/bin/sh", "./entrypoint.sh"]
|
||||
expose:
|
||||
- "3000"
|
||||
volumes:
|
||||
@ -28,7 +28,7 @@ services:
|
||||
build:
|
||||
context: ../microservices
|
||||
dockerfile: ../microservices/Dockerfile
|
||||
command: npm run start:prod
|
||||
entrypoint: ["/bin/sh", "./entrypoint.sh"]
|
||||
expose:
|
||||
- "3001"
|
||||
volumes:
|
||||
|
2
microservices/entrypoint.sh
Normal file
2
microservices/entrypoint.sh
Normal file
@ -0,0 +1,2 @@
|
||||
# npm run typeorm migration:run
|
||||
npm run build && npm run start:prod
|
@ -1,2 +1,2 @@
|
||||
# npm run typeorm migration:run
|
||||
npm run start:dev
|
||||
npm run build && npm run start:prod
|
Loading…
Reference in New Issue
Block a user