fuck this shit

This commit is contained in:
Johannes Theiner 2020-07-20 20:33:31 +02:00
parent 4e1c629ff3
commit 46129a6693

View File

@ -1,14 +1,13 @@
FROM golang:latest as builder
RUN mkdir -p /go/src/folder
WORKDIR /go/src/folder
COPY /src .
WORKDIR /src
RUN go get -u ./...
RUN go build
FROM alpine:latest
WORKDIR /
COPY --from=builder /go/src/folder/weatherservice .
COPY --from=builder /src/weatherservice .
EXPOSE 8080
CMD ["/weatherservice"]