2
0
Fork 0

Add Containerfile

main
Astra 2024-07-31 17:52:49 +01:00
parent 7fc3740f3f
commit 7ad26b1fe1
1 changed files with 14 additions and 0 deletions

14
Containerfile 100644
View File

@ -0,0 +1,14 @@
FROM golang:alpine AS builder
WORKDIR /go/src/git.zio.sh/gearheads/webfinger
COPY . .
RUN apk update && \
go get -d -v ./... && \
go install
FROM alpine:latest
COPY --from=builder /go/bin/webfinger /usr/local/bin/webfinger
CMD ["webfinger"]