Use copy instead of git clone
This commit is contained in:
parent
64cf0d9db5
commit
217b2d378c
1 changed files with 2 additions and 1 deletions
|
@ -1,6 +1,7 @@
|
||||||
FROM golang:1.11 AS build
|
FROM golang:1.11 AS build
|
||||||
|
|
||||||
RUN git clone https://github.com/glenux/trello2mail /app
|
# git clone https://github.com/glenux/trello2mail /app
|
||||||
|
COPY . /app
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
RUN CGO_ENABLED=0 go build -v ./...
|
RUN CGO_ENABLED=0 go build -v ./...
|
||||||
|
|
Loading…
Reference in a new issue