From 3b8310fdca45be66a74d525752056be9641bc147 Mon Sep 17 00:00:00 2001 From: Rafael Date: Wed, 7 Jan 2026 19:04:07 -0300 Subject: [PATCH] CHORE: simplify Dockerfile.local to use npm ci only Remove protospack tarball fallback logic Co-Authored-By: Claude Opus 4.5 --- Dockerfile.local | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/Dockerfile.local b/Dockerfile.local index 7f56186..fc8afaf 100644 --- a/Dockerfile.local +++ b/Dockerfile.local @@ -19,20 +19,10 @@ ENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true \ # Local build with secrets -# Check if local protospack tarball exists (for local dev) FROM build_base AS build -COPY protospack*.tgz* ./ RUN --mount=type=secret,id=aws,target=/root/.aws/credentials \ aws codeartifact login --tool npm --namespace @dadosfera --repository dadosfera-npm --domain dadosfera --domain-owner 611330257153 --region us-east-1 -RUN if [ -f "protospack.tgz" ]; then \ - echo "Installing from local protospack tarball..." && \ - npm install ./protospack.tgz --save-exact && \ - npm ci --ignore-scripts && \ - npm rebuild; \ - else \ - echo "Installing from CodeArtifact..." && \ - npm ci; \ - fi +RUN npm ci COPY . . RUN npm run build