chore(): Adds Dockerfile to the mix
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Elia el Lazkani 2023-07-11 03:37:36 +02:00
parent 95c29b1f4b
commit 4fbddcf7d6

15
Dockerfile Normal file
View file

@ -0,0 +1,15 @@
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"]