summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElizabeth Hunt <lizhunt@amazon.com>2025-01-07 09:15:48 -0800
committerElizabeth Hunt <lizhunt@amazon.com>2025-01-07 09:15:48 -0800
commitcfb7b26383f1383564201180fdf159770b31eff5 (patch)
treef6f067109bc018acc238a5c830aa5fe4f374dda6
parent2d5fce1da2c0cc0555c47222484b73c008a5e3b0 (diff)
downloadpenguin-new-tab-cfb7b26383f1383564201180fdf159770b31eff5.tar.gz
penguin-new-tab-cfb7b26383f1383564201180fdf159770b31eff5.zip
legacy peer deps strikes again
-rw-r--r--Dockerfile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Dockerfile b/Dockerfile
index 034cba8..83a4c15 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -12,7 +12,7 @@ WORKDIR /app
COPY package.json yarn.lock* package-lock.json* pnpm-lock.yaml* .npmrc* ./
RUN \
if [ -f yarn.lock ]; then yarn --frozen-lockfile; \
- elif [ -f package-lock.json ]; then npm ci; \
+ elif [ -f package-lock.json ]; then npm ci --legacy-peer-deps; \
elif [ -f pnpm-lock.yaml ]; then corepack enable pnpm && pnpm i --frozen-lockfile; \
else echo "Lockfile not found." && exit 1; \
fi