Move all 88 service modules (66 individual + 22 platform) from modules/kubernetes/<service>/ into their corresponding stack directories: - Service stacks: stacks/<service>/module/ - Platform stack: stacks/platform/modules/<service>/ This collocates module source code with its Terragrunt definition. Only shared utility modules remain in modules/kubernetes/: ingress_factory, setup_tls_secret, dockerhub_secret, oauth-proxy. All cross-references to shared modules updated to use correct relative paths. Verified with terragrunt run --all -- plan: 0 adds, 0 destroys across all 68 stacks.
21 lines
526 B
Docker
21 lines
526 B
Docker
FROM golang:1.24-alpine AS builder
|
|
WORKDIR /app
|
|
COPY go.mod go.sum ./
|
|
RUN go mod download
|
|
COPY . .
|
|
RUN CGO_ENABLED=0 GOOS=linux go build -o /f1-stream .
|
|
|
|
FROM alpine:3.20
|
|
RUN apk add --no-cache \
|
|
ca-certificates \
|
|
chromium nss freetype harfbuzz ttf-freefont \
|
|
mesa-dri-gallium mesa-gl \
|
|
dbus \
|
|
xvfb-run xorg-server \
|
|
pulseaudio pulseaudio-utils \
|
|
ffmpeg
|
|
ENV CHROME_PATH=/usr/bin/chromium-browser
|
|
COPY --from=builder /f1-stream /f1-stream
|
|
COPY static/ /static/
|
|
EXPOSE 8080
|
|
ENTRYPOINT ["/f1-stream"]
|