Try freeing up more space before build
Some checks failed
Podman Rootless Demo / test-backend (push) Has been skipped
Podman Rootless Demo / test-frontend (push) Successful in 11s
Podman Rootless Demo / build-backend (push) Has been skipped
Podman Rootless Demo / build-frontend (push) Failing after 57s
Podman Rootless Demo / deploy-prod (push) Has been skipped

This commit is contained in:
continuist 2025-09-21 13:14:42 -04:00
parent b5972d34cf
commit f39f1f55df

View file

@ -2,9 +2,12 @@
FROM docker.io/node:20-alpine AS builder
WORKDIR /app
# Clean any existing cache before starting
RUN npm cache clean --force
# install deps (needs dev deps for build)
COPY package*.json ./
RUN npm ci && npm cache clean --force
RUN npm cache clean --force && npm install --prefer-offline --no-audit --no-fund && npm cache clean --force
# app source
COPY . .