From 53a2858bd6e50921b51225d94b4dcafcf2d1f729 Mon Sep 17 00:00:00 2001 From: home Date: Mon, 2 Mar 2026 21:24:40 +0300 Subject: [PATCH] fix: install all deps for webui build including devDependencies The Next.js build requires TypeScript, @types/*, tailwindcss and other devDependencies. Changed npm ci --only=production to npm ci. Made-with: Cursor --- .gitea/workflows/deploy.yaml | 2 +- backend/webui/Dockerfile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml index 5279827..66ed692 100644 --- a/.gitea/workflows/deploy.yaml +++ b/.gitea/workflows/deploy.yaml @@ -37,7 +37,7 @@ jobs: - name: Build WebUI image run: | cd /opt/gitea-runner/workspace/gooseek/backend/webui - docker build \ + docker build --no-cache \ -t $REGISTRY/gooseek/webui:${{ github.sha }} \ -t $REGISTRY/gooseek/webui:latest \ . diff --git a/backend/webui/Dockerfile b/backend/webui/Dockerfile index 32951ae..e7fe41f 100644 --- a/backend/webui/Dockerfile +++ b/backend/webui/Dockerfile @@ -5,7 +5,7 @@ RUN apk add --no-cache libc6-compat WORKDIR /app COPY package.json package-lock.json* ./ -RUN npm ci --only=production +RUN npm ci FROM base AS builder WORKDIR /app