diff --git a/Dockerfile b/Dockerfile index dd45849..97432dd 100644 --- a/Dockerfile +++ b/Dockerfile @@ -35,6 +35,4 @@ EXPOSE 3000 ENV PORT=3000 ENV HOSTNAME="0.0.0.0" -COPY entrypoint.sh /app/entrypoint.sh -RUN chmod +x /app/entrypoint.sh -ENTRYPOINT ["/app/entrypoint.sh"] \ No newline at end of file +CMD ["node", "server.js"] \ No newline at end of file diff --git a/entrypoint.sh b/entrypoint.sh deleted file mode 100644 index 2b9e562..0000000 --- a/entrypoint.sh +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/sh -# entrypoint.sh - -echo "Running database push..." -npx prisma db push - -echo "Starting application..." -node server.js \ No newline at end of file