sidoxy/Dockerfile

16 lines
241 B
Text
Raw Normal View History

2023-07-11 01:37:36 +00:00
FROM docker.io/golang:alpine AS builder
WORKDIR /go/src/sidoxy
COPY . .
RUN go get && \
mkdir build && \
go build -o build/sidoxy
FROM docker.io/alpine:latest
COPY --from=builder /go/src/sidoxy/build/sidoxy ./
CMD ["./sidoxy"]