remove useless info

This commit is contained in:
visionmercer 2026-03-23 09:22:51 +01:00
commit 27b5897c1f
2 changed files with 18 additions and 41 deletions

View file

@ -1,20 +0,0 @@
# ── Build stage ──────────────────────────────────────────────────────────────
FROM golang:1.22-alpine AS builder
WORKDIR /src
COPY go.mod go.sum ./
RUN go mod download
COPY . .
RUN CGO_ENABLED=0 GOOS=linux go build -trimpath -ldflags="-s -w" -o /isosilo .
# ── Runtime stage ─────────────────────────────────────────────────────────────
FROM scratch
COPY --from=builder /isosilo /isosilo
# ISOs should be mounted here at runtime.
VOLUME ["/isos"]
EXPOSE 8080
ENTRYPOINT ["/isosilo", "-dir", "/isos", "-addr", ":8080"]