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

This commit is contained in:
Elia el Lazkani 2025-03-05 23:37:42 +01:00
parent fd320d9ec3
commit bece933718

14
Dockerfile Normal file
View file

@ -0,0 +1,14 @@
FROM docker.io/library/golang:alpine as builder
ADD . /cmw
RUN apk add git && \
cd /cmw && \
go get -u . && \
go build -o cmw
FROM docker.io/library/alpine:latest
COPY --from=builder /cmw/cmw /cmw
ENTRYPOINT ["/cmw"]