1
0
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:
Alex 2022-03-28 21:00:17 -05:00 committed by GitHub
parent ac0ad98b55
commit 23ba651705
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 3 deletions

View File

@ -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:

View File

@ -0,0 +1,2 @@
# npm run typeorm migration:run
npm run build && npm run start:prod

View File

@ -1,2 +1,2 @@
# npm run typeorm migration:run
npm run start:dev
npm run build && npm run start:prod