5461623dca
Update templates for 9.3 See merge request !12041
14 lines
205 B
Docker
14 lines
205 B
Docker
FROM golang:1.8 AS builder
|
|
|
|
WORKDIR /usr/src/app
|
|
|
|
COPY . .
|
|
RUN go-wrapper download
|
|
RUN go build -v
|
|
|
|
FROM buildpack-deps:jessie
|
|
|
|
WORKDIR /usr/local/bin
|
|
|
|
COPY --from=builder /usr/src/app/app .
|
|
CMD ["./app"]
|