feat: HTTP panel on :8000 with first admin setup

This commit is contained in:
orohi
2026-06-17 04:40:34 +03:00
parent f214aaa48b
commit 0f31c24bf9
14 changed files with 502 additions and 5 deletions
+19
View File
@@ -0,0 +1,19 @@
FROM golang:1.23-alpine AS builder
WORKDIR /app
COPY go.mod go.sum ./
RUN go mod download
COPY . .
RUN CGO_ENABLED=0 go build -o /panel ./cmd/panel
FROM alpine:3.20
RUN apk add --no-cache ca-certificates
COPY --from=builder /panel /panel
EXPOSE 8000
ENTRYPOINT ["/panel"]