2
0
Fork 0

Add Containerfile

This commit is contained in:
Astra 2024-07-31 17:52:49 +01:00
parent 7fc3740f3f
commit 7ad26b1fe1

14
Containerfile Normal file
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"]