sidoxy/Dockerfile
Elia el Lazkani 4fbddcf7d6
All checks were successful
continuous-integration/drone/push Build is passing
chore(): Adds Dockerfile to the mix
2023-07-11 03:37:36 +02:00

15 lines
241 B
Docker

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"]