chore(): Adds Dockerfile to the mix
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Elia el Lazkani 2023-07-11 03:37:36 +02:00
parent 95c29b1f4b
commit 4fbddcf7d6
1 changed files with 15 additions and 0 deletions

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