deployment
Some checks failed
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/tag/woodpecker Pipeline failed

This commit is contained in:
2024-12-02 09:42:12 +01:00
parent defee32084
commit 04b0218280
9 changed files with 114 additions and 3 deletions

15
Dockerfile Normal file
View File

@ -0,0 +1,15 @@
FROM golang:1.22.5-alpine3.20 as builder
RUN mkdir -p /go/src
COPY ./src/ /go/src
WORKDIR /go/src/ma
RUN go build -a -installsuffix nocgo -o ma main.go
FROM scratch
ENV MA_CONF ""
COPY --from=builder /go/src/ma ./
ENTRYPOINT ["./ma"]