This commit is contained in:
parent
ad9a71bf6f
commit
0da6feb217
|
@ -1,6 +1,10 @@
|
||||||
FROM golang:1.18
|
FROM golang:1.18
|
||||||
|
|
||||||
|
WORKDIR /go/src/woodpecker-email
|
||||||
|
|
||||||
|
COPY . .
|
||||||
|
|
||||||
RUN apt-get update && apt-get -y install ca-certificates tzdata
|
RUN apt-get update && apt-get -y install ca-certificates tzdata
|
||||||
RUN make build && cp ./woodpecker-email /bin
|
RUN make build && cp /go/src/woodpecker-email/woodpecker-email /bin
|
||||||
|
|
||||||
ENTRYPOINT ["/bin/woodpecker-email"]
|
ENTRYPOINT ["/bin/woodpecker-email"]
|
||||||
|
|
Loading…
Reference in a new issue