WeatherService/Dockerfile

12 lines
133 B
Docker
Raw Normal View History

2020-07-20 18:06:32 +02:00
FROM golang:1.14.6-alpine3.12
RUN mkdir /src
ADD . /src
WORKDIR /src
RUN go mod download
RUN go build -o main .
CMD["/app/main"]