diff --git a/Dockerfile b/Dockerfile index 89c6ec0..a513973 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,7 +8,6 @@ RUN npm ci COPY ./src ./src COPY ./public ./public COPY ./config ./config -COPY ./start.sh ./ RUN npm install @swc/core @napi-rs/magic-string && \ npm run build @@ -28,4 +27,4 @@ COPY --from=builder /gen3/.next/static ./.next/static USER nextjs ENV PORT=3000 -CMD bash ./start.sh +CMD ["node", "server.js"] diff --git a/start.sh b/start.sh deleted file mode 100644 index 5cf0f39..0000000 --- a/start.sh +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/bash - -set -e -echo "starting server" -npm run start