Fix building in dockerfile

This commit is contained in:
Tulir Asokan 2018-07-06 16:44:21 +03:00
parent eb11392125
commit 7ba3c5c9aa

View file

@ -9,7 +9,7 @@ WORKDIR /go/src/maubot.xyz/
RUN dep ensure -vendor-only
COPY . /go/src/maubot.xyz/
RUN CGO_ENABLED=0 go build -o /usr/bin/maubot
RUN CGO_ENABLED=0 go build -o /usr/bin/maubot maubot.xyz/cmd/maubot
FROM scratch