ready for build

This commit is contained in:
2026-07-21 12:26:26 +03:30
parent 3486da6eeb
commit 9fd23b69e3
3 changed files with 5 additions and 5 deletions
+3 -3
View File
@@ -4,20 +4,20 @@ ENV NEXT_TELEMETRY_DISABLED=1
FROM base AS deps
COPY package.json pnpm-lock.yaml ./
RUN npm config set registry https://hub.megan.ir/npm
# RUN npm config set registry https://hub.megan.ir/npm
RUN npm i -g pnpm
RUN pnpm install --frozen-lockfile
FROM base AS builder
COPY --from=deps /app/node_modules ./node_modules
COPY . .
RUN npm config set registry https://hub.megan.ir/npm
# RUN npm config set registry https://hub.megan.ir/npm
RUN npm install -g pnpm
RUN pnpm build
FROM node:20-alpine AS runner
WORKDIR /app
ARG PORT=5000
ARG PORT=3000
ENV NODE_ENV=production
ENV NEXT_TELEMETRY_DISABLED=1
ENV PORT=$PORT