From 079afaa3306cce003f9ce95afb8d9223ab7f6a0d Mon Sep 17 00:00:00 2001 From: "J. Q." <55899496+jawadqur@users.noreply.github.com> Date: Thu, 2 Jan 2025 09:41:58 -0600 Subject: [PATCH] Add start.sh to correct build stage --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index af67838..cecf2d6 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 @@ -24,6 +23,7 @@ RUN addgroup --system --gid 1001 nextjs && \ COPY --from=builder /gen3/config ./config COPY --from=builder /gen3/public ./public COPY --from=builder /gen3/.next/static ./.next/static +COPY ./start.sh ./ USER nextjs ENV PORT=3000