High performance self-hosted photo and video management solution.
TypeScript backup-toolfluttergoogle-photosgoogle-photos-alternativejavascriptmobile-appnestjsnodejsphoto-galleryphotosphotos-managementself-hostedsveltesveltekittypescriptvideos
Fixed npm run start:prod not able to find build directory (#83)
Alex23ba6517058f
diff --git a/docker/docker-compose.yml b/docker/docker-compose.ymlindex efd6bb1c8f..ce43d4c8bf 100644--- a/docker/docker-compose.yml+++ b/docker/docker-compose.yml@@ -6,7 +6,7 @@ services:build:context: ../serverdockerfile: ../server/Dockerfile- command: npm run start:prod+ entrypoint: ["/bin/sh", "./entrypoint.sh"]expose:- "3000"volumes:@@ -28,7 +28,7 @@ services:build:context: ../microservicesdockerfile: ../microservices/Dockerfile- command: npm run start:prod+ entrypoint: ["/bin/sh", "./entrypoint.sh"]expose:- "3001"volumes:diff --git a/microservices/entrypoint.sh b/microservices/entrypoint.shnew file mode 100644index 0000000000..7dd3325ba4--- /dev/null+++ b/microservices/entrypoint.sh@@ -0,0 +1,2 @@+# npm run typeorm migration:run+npm run build && npm run start:prod\ No newline at end of filediff --git a/server/entrypoint.sh b/server/entrypoint.shindex cd13d4545a..7dd3325ba4 100644--- a/server/entrypoint.sh+++ b/server/entrypoint.sh@@ -1,2 +1,2 @@# npm run typeorm migration:run-npm run start:dev\ No newline at end of file+npm run build && npm run start:prod\ No newline at end of file