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
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:
parent
b5972d34cf
commit
f39f1f55df
1 changed files with 4 additions and 1 deletions
|
|
@ -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 . .
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue