musala/Dockerfile

10 lines
325 B
Text
Raw Normal View History

2018-08-21 07:08:51 +00:00
FROM golang:1.10 AS build
COPY . /go/src/github.com/glenux/trello2mail-go
WORKDIR /go/src/github.com/glenux/trello2mail-go
RUN CGO_ENABLED=0 go build -o trello2mail main.go
FROM alpine:3.7
RUN apk add --no-cache ca-certificates
COPY --from=build /go/src/github.com/glenux/trello2mail-go/ /usr/bin/trello2mail
CMD ["./main"]