๐Ÿ˜ฅ ๋ฌธ์ œ

Untitled

๐Ÿ™Œ๐Ÿป ํ•ด๊ฒฐ ๋ฐฉ๋ฒ•

/** @type {import('next').NextConfig} */
const nextConfig = {
  images: {
    // (option) serverless dockerlizing์„ ์œ„ํ•ด
    unoptimized: true,
  },
  output: 'standalone', // dockerlizing์„ ์œ„ํ•ด
}

export default nextConfig

โญ ์ง€์› ์„๋•Œ yarn build๊ฐ€ ์„ฑ๊ณตํ•ด์„œ ์ € ์ฝ”๋“œ์˜ ๋ฌธ์ œ์ธ์ค„ ์•Œ์•˜๋Š”๋ฐ ์•„๋‹ˆ์—ˆ์Œ

/** @type {import('next').NextConfig} */
const nextConfig = {
  images: {
    // (option) serverless dockerlizing์„ ์œ„ํ•ด
    unoptimized: true,
  },
  outputStandalone: true, // ์ด๊ฑธ๋กœ ์ˆ˜์ •
}

export default nextConfig

โ‡’ ๋™์ผํ•œ ๊ธฐ๋Šฅ์„ ํ•˜์ง€๋งŒ, ๋ฌธ๋ฒ•์ด ์—…๋ฐ์ดํŠธ ๋œ ๊ฒƒ ๊ฐ™๋‹ค.

๐Ÿ”Ž ์ฐธ๊ณ  ์ž๋ฃŒ

Windows with pnpm and output standalone not work properly ยท Issue #50803 ยท vercel/next.js