refactor: reorganize project structure and update paths for backend and frontend
Docker / Docker Build & Push (push) Successful in 7m52s
Lint / Lint (push) Successful in 15s
Tests / Go backend (push) Successful in 19s
Tests / Dashboard checks (push) Successful in 18s

This commit is contained in:
Gabriel20xx committed 2026-08-03 22:40:08 +02:00
1 parent 6c1ea2da47
commit 64d22d0aac
11 files changed
+120 -112

No files matched your search

+7 -7
View File
@@ -1,16 +1,16 @@
FROM node:22-alpine AS webui-builder
WORKDIR /webui
COPY webui/package*.json ./
FROM node:22-alpine AS frontend-builder
WORKDIR /frontend
COPY frontend/package*.json ./
RUN npm ci
COPY webui/ ./
COPY frontend/ ./
RUN npm run build
FROM golang:1.26-alpine AS builder
WORKDIR /app
COPY go.mod go.sum ./
COPY backend/go.mod backend/go.sum ./
RUN go mod download
COPY *.go ./
COPY --from=webui-builder /webui/build ./web
COPY backend/*.go ./
COPY --from=frontend-builder /frontend/build ./web
RUN apk add --no-cache ca-certificates && \
CGO_ENABLED=0 GOOS=linux go build -ldflags="-s -w" -o server .