fix(marketing): enable cssnano minification + npm ci for reproducibility
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user