Fix Docker Go build stage
Some checks failed
build-push / docker (push) Failing after 7m40s

This commit is contained in:
AI Assistant
2026-03-12 15:18:19 +09:00
parent 54cb535c1d
commit 6f89d44bfa

View File

@@ -1,9 +1,9 @@
FROM golang:1.24-bookworm AS go-builder
WORKDIR /src
COPY go.mod ./
COPY go.mod go.sum ./
RUN go mod download
COPY backend ./backend
RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o /out/ai-media-hub ./backend
RUN go build -o /out/ai-media-hub ./backend
FROM python:3.12-slim-bookworm
ENV APP_ROOT=/app