From c68ec4119d2d1f96fd51fe7200216ece5d2abdf9 Mon Sep 17 00:00:00 2001 From: Thomas Date: Tue, 23 Jun 2026 13:25:33 +0100 Subject: [PATCH] fix: Use CMD in the dockerfile --- scripts/entrypoint.sh | 7 ------- web.Dockerfile | 3 ++- 2 files changed, 2 insertions(+), 8 deletions(-) delete mode 100644 scripts/entrypoint.sh diff --git a/scripts/entrypoint.sh b/scripts/entrypoint.sh deleted file mode 100644 index e7d2876..0000000 --- a/scripts/entrypoint.sh +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/sh - -#Run the prisma:deploy npm script -# npm run prisma:deploy - -# Start the server -exec node build diff --git a/web.Dockerfile b/web.Dockerfile index 4466cb9..6145a50 100644 --- a/web.Dockerfile +++ b/web.Dockerfile @@ -26,4 +26,5 @@ COPY package.json . EXPOSE 3000 ENV NODE_ENV=production VOLUME /data -ENTRYPOINT [ "./entrypoint.sh" ] + +CMD ["node", "build"] \ No newline at end of file