<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Nodejs on php-tips.com</title>
    <link>https://php-tips.com/tags/nodejs/</link>
    <description>Recent content in Nodejs on php-tips.com</description>
    <generator>Hugo</generator>
    <language>ja</language>
    <lastBuildDate>Wed, 01 Apr 2026 20:32:55 +0900</lastBuildDate>
    <atom:link href="https://php-tips.com/tags/nodejs/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Docker マルチステージビルドで Node.js イメージを軽量化する</title>
      <link>https://php-tips.com/2026/04/01/docker-multistage-build-nodejs/</link>
      <pubDate>Wed, 01 Apr 2026 20:32:55 +0900</pubDate>
      <guid>https://php-tips.com/2026/04/01/docker-multistage-build-nodejs/</guid>
      <description>&lt;p&gt;&lt;strong&gt;TL;DR:&lt;/strong&gt; Dockerfile でマルチステージビルドを使い、「ビルド用ステージ」と「実行用ステージ」を分けると devDependencies やビルドツールが最終イメージに残らなくなる。あるプロジェクトでは 2GB 弱 → 1GB 以下と半分以下にできた。&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
