fix: install all deps for webui build including devDependencies
Some checks failed
Build and Deploy GooSeek / build-and-deploy (push) Has been cancelled
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:
@@ -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 \
|
||||||
.
|
.
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user