build(ci): improve caching efficiency in ci
All checks were successful
CI / Maven unit tests (push) Successful in 15s
CI / Build and push images (push) Successful in 25s
CI / Deploy to server (push) Successful in 5s

This commit is contained in:
2026-07-13 23:28:54 +01:00
parent 339465b417
commit fe25ef05dc
4 changed files with 16 additions and 9 deletions

View File

@@ -2,7 +2,7 @@ FROM node:20-alpine
WORKDIR /app
COPY package*.json ./
RUN npm ci
RUN --mount=type=cache,target=/root/.npm npm ci
COPY . .
EXPOSE 5173