From 5da17622667c5d311da6c3d9c7927e2388ae690b Mon Sep 17 00:00:00 2001 From: Kevin Sivic Date: Fri, 28 Nov 2025 22:00:00 -0500 Subject: [PATCH] Remove npm from Dockerfile - Phoenix uses esbuild/tailwind MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Modern Phoenix apps don't use npm. They use standalone esbuild and tailwind binaries. Removed npm installation and npm ci/deploy commands. The mix assets.deploy task handles all asset compilation. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- Dockerfile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 1b35c55..d364f5c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,7 +2,7 @@ FROM elixir:1.17-alpine AS build # Install build dependencies -RUN apk add --no-cache build-base git nodejs npm +RUN apk add --no-cache build-base git # Prepare build dir WORKDIR /app @@ -26,8 +26,6 @@ COPY lib lib COPY assets assets # Compile assets -RUN npm ci --prefix ./assets -RUN npm run deploy --prefix ./assets RUN mix assets.deploy # Compile the project