ordercollect/Dockerfile

7 lines
142 B
Docker

FROM golang:1.14-alpine
WORKDIR /go/src/app
COPY . .
RUN go get -d -v ./...
RUN go install -v ./...
CMD ordercollector --port 8080
EXPOSE 8080