From fa2e1567a79ec4178432828cfbd0e0ad070e5368 Mon Sep 17 00:00:00 2001 From: Sergey Korotonozhko <_serezhka_@mail.ru> Date: Tue, 19 May 2026 18:17:13 +0300 Subject: [PATCH] fix: remove frontend-builder stage, use pre-built webui/dist to avoid npm timeout on VPS --- Dockerfile | 8 -------- 1 file changed, 8 deletions(-) diff --git a/Dockerfile b/Dockerfile index 24f7cdd..4a4bdce 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,10 +1,3 @@ -FROM node:20-alpine AS frontend-builder -WORKDIR /build -COPY webui/package*.json ./ -RUN npm install -COPY webui/ . -RUN npm run build - FROM python:3.12-slim WORKDIR /app @@ -16,7 +9,6 @@ COPY requirements.txt . RUN pip install --no-cache-dir -r requirements.txt COPY . . -COPY --from=frontend-builder /build/dist /app/webui/dist RUN mkdir -p /app/logs