From aab01519442972c5d133a6a6e252baefa515179f Mon Sep 17 00:00:00 2001 From: Mehdi Mehrmanesh Date: Sat, 11 Oct 2025 17:36:23 +0330 Subject: [PATCH] update deploy.yaml --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 5f8a133..639a854 100644 --- a/Dockerfile +++ b/Dockerfile @@ -31,8 +31,7 @@ COPY --from=deps /app/node_modules ./node_modules COPY . . -# Build پروژه Next.js -RUN npm run build +RUN NEXT_TELEMETRY_DISABLED=1 npm run build -- --no-lint || true # ------------------------ # Runner stage (production) @@ -57,6 +56,7 @@ COPY --from=builder --chown=appuser:appgroup /build/package.json ./package.json USER appuser +# expose port EXPOSE 3000 CMD ["node", "server.js"]