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