File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ WORKDIR /app
1010# Install dependencies based on the preferred package manager
1111COPY package.json pnpm-lock.yaml* package-lock.json* ./
1212RUN \
13- if [ -f pnpm-lock.yaml ]; then corepack enable pnpm && pnpm i --frozen-lockfile; \
13+ if [ -f pnpm-lock.yaml ]; then corepack enable pnpm && pnpm i --no- frozen-lockfile; \
1414 elif [ -f package-lock.json ]; then npm ci; \
1515 else echo "Lockfile not found." && exit 1; \
1616 fi
@@ -28,8 +28,8 @@ RUN npm run build
2828FROM base AS runner
2929WORKDIR /app
3030
31- ENV NODE_ENV production
32- ENV NEXT_TELEMETRY_DISABLED 1
31+ ENV NODE_ENV= production
32+ ENV NEXT_TELEMETRY_DISABLED= 1
3333
3434RUN addgroup --system --gid 1001 nodejs
3535RUN adduser --system --uid 1001 nextjs
@@ -49,8 +49,8 @@ USER nextjs
4949
5050EXPOSE 3000
5151
52- ENV PORT 3000
53- ENV HOSTNAME "0.0.0.0"
52+ ENV PORT= 3000
53+ ENV HOSTNAME= "0.0.0.0"
5454
5555# server.js is created by next build from the standalone output
5656# https://nextjs.org/docs/pages/api-reference/next-config-js/output
You can’t perform that action at this time.
0 commit comments