Fix building in dockerfile
This commit is contained in:
parent
eb11392125
commit
7ba3c5c9aa
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@ WORKDIR /go/src/maubot.xyz/
|
||||||
RUN dep ensure -vendor-only
|
RUN dep ensure -vendor-only
|
||||||
|
|
||||||
COPY . /go/src/maubot.xyz/
|
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
|
FROM scratch
|
||||||
|
|
Loading…
Reference in a new issue