This commit is contained in:
2025-01-10 01:26:41 -06:00
commit a5d0d41842
7 changed files with 352 additions and 0 deletions

18
Dockerfile Normal file
View File

@ -0,0 +1,18 @@
FROM golang:1.23-alpine AS builder
WORKDIR /app
COPY . .
RUN go mod tidy
RUN go build -o app .
FROM alpine:latest
WORKDIR /root/
COPY --from=builder /app/app .
EXPOSE 23234
CMD ["./app"]