working state of application

This commit is contained in:
2026-05-07 17:33:50 +02:00
parent 0310986644
commit 7354e1309f
4 changed files with 9 additions and 9 deletions
+3 -3
View File
@@ -1,14 +1,14 @@
# ── Stage 1: Build frontend ───────────────────────────────────────────────────
FROM node:22-alpine AS frontend-builder
WORKDIR /app/frontend
RUN npm install -g pnpm
RUN npm install -g pnpm@10.33.4
COPY frontend/package.json frontend/pnpm-lock.yaml ./
RUN pnpm install --frozen-lockfile
COPY frontend/ ./
RUN pnpm build
RUN NODE_OPTIONS=--max-old-space-size=2048 pnpm build
# ── Stage 2: Build Go binary ──────────────────────────────────────────────────
FROM golang:1.24-alpine AS go-builder
FROM golang:1.26-alpine AS go-builder
RUN apk add --no-cache git
WORKDIR /app
COPY go.mod go.sum ./