From 93f9c5425e70d06de7ac047af15ee903a6f0f651 Mon Sep 17 00:00:00 2001 From: Alex Clarke Date: Wed, 22 Jul 2026 17:11:57 -0600 Subject: [PATCH] fix: npm and npx need the /usr/local/share/npm-global/lib directory to exist to run properly so I've added it to the dockerfile --- Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Dockerfile b/Dockerfile index 73ba70c..9997524 100644 --- a/Dockerfile +++ b/Dockerfile @@ -42,6 +42,8 @@ RUN curl -LsSf https://astral.sh/uv/install.sh | sh && \ printf '#!/bin/sh\nexec uv tool run "$@"\n' > "$HOME/.local/bin/uvx" && \ chmod +x "$HOME/.local/bin/uvx" +RUN mkdir -p /usr/local/share/npm-global/lib + RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | \ sh -s -- -y --default-toolchain stable --profile minimal && \ . "$HOME/.cargo/env" && \