fix: install all deps for webui build including devDependencies
Some checks failed
Build and Deploy GooSeek / build-and-deploy (push) Has been cancelled

The Next.js build requires TypeScript, @types/*, tailwindcss and other
devDependencies. Changed npm ci --only=production to npm ci.

Made-with: Cursor
This commit is contained in:
home
2026-03-02 21:24:40 +03:00
parent 02af7e353f
commit 53a2858bd6
2 changed files with 2 additions and 2 deletions

View File

@@ -37,7 +37,7 @@ jobs:
- name: Build WebUI image - name: Build WebUI image
run: | run: |
cd /opt/gitea-runner/workspace/gooseek/backend/webui cd /opt/gitea-runner/workspace/gooseek/backend/webui
docker build \ docker build --no-cache \
-t $REGISTRY/gooseek/webui:${{ github.sha }} \ -t $REGISTRY/gooseek/webui:${{ github.sha }} \
-t $REGISTRY/gooseek/webui:latest \ -t $REGISTRY/gooseek/webui:latest \
. .

View File

@@ -5,7 +5,7 @@ RUN apk add --no-cache libc6-compat
WORKDIR /app WORKDIR /app
COPY package.json package-lock.json* ./ COPY package.json package-lock.json* ./
RUN npm ci --only=production RUN npm ci
FROM base AS builder FROM base AS builder
WORKDIR /app WORKDIR /app