feat: initial commit

This commit is contained in:
devilreef 2026-01-22 16:26:39 +06:00
commit 1b81917307
17 changed files with 1565 additions and 0 deletions

20
Dockerfile Normal file
View file

@ -0,0 +1,20 @@
FROM golang:1.25-alpine AS builder
WORKDIR /app
COPY go.mod go.sum ./
RUN go mod download
COPY . .
RUN CGO_ENABLED=0 GOOS=linux go build -o blockyserver .
FROM alpine:latest
WORKDIR /app
COPY --from=builder /app/blockyserver .
EXPOSE 8080
ENTRYPOINT ["./blockyserver"]
CMD ["-port", "8080"]