fix(marketing): enable cssnano minification + npm ci for reproducibility

This commit is contained in:
Allison
2026-04-27 15:32:05 -04:00
parent b27b3c1d44
commit 31948aec01
5 changed files with 855 additions and 4827 deletions

View File

@@ -50,7 +50,7 @@ WORKDIR /app
COPY package.json postcss.config.js ./
COPY static/css ./static/css
COPY templates ./templates
RUN npm install --no-audit --no-fund && npm run build:css
RUN npm ci --no-audit --no-fund && NODE_ENV=production npm run build:css
###############################################################################
# Stage 4: Runtime — lean final image with only what's needed