add docker support

This commit is contained in:
Joel Schmid 2021-03-17 19:14:27 +01:00
parent ea41163296
commit c4c38f0dc9

13
Dockerfile Normal file
View file

@ -0,0 +1,13 @@
FROM golang:1.16
RUN mkdir -p /weather-api
WORKDIR /weather-api
ADD . /weather-api
RUN go build ./main.go
EXPOSE 10000
CMD ["./main"]