fix: remove curl installation from Dockerfile and adjust reactStrictMode setting in next.config.ts for clarity

This commit is contained in:
2025-07-20 20:46:41 +09:00
parent e5dcb46ef2
commit e2c0d97a65
2 changed files with 1 additions and 6 deletions
-5
View File
@@ -2,9 +2,6 @@
FROM node:18-alpine AS base
# Install curl
RUN apk add --no-cache curl
# Install dependencies only when needed
FROM base AS deps
# Check https://github.com/nodejs/docker-node/tree/b4117f9333da4138b03a546ec926ef50a31506c3#nodealpine to understand why libc6-compat might be needed.
@@ -57,8 +54,6 @@ COPY --from=builder /app/public ./public
COPY --from=builder --chown=nextjs:nodejs /app/.next/standalone ./
COPY --from=builder --chown=nextjs:nodejs /app/.next/static ./.next/static
USER nextjs
EXPOSE 3000
ENV PORT=3000
+1 -1
View File
@@ -2,8 +2,8 @@ import type { NextConfig } from "next";
const nextConfig: NextConfig = {
/* config options here */
output: "standalone",
reactStrictMode: true,
output: "standalone",
};
export default nextConfig;