worst build system ever v3

This commit is contained in:
Johannes Theiner 2020-07-20 20:56:57 +02:00
parent 8563bbc36e
commit fca398c624

View File

@ -4,7 +4,7 @@ ENV GO111MODULE=on
WORKDIR /src WORKDIR /src
RUN cd /src RUN cd /src
RUN go get -u ./... RUN go get -u
RUN go build RUN go build
FROM alpine:latest FROM alpine:latest
@ -12,4 +12,4 @@ WORKDIR /
COPY --from=builder /src/weatherservice . COPY --from=builder /src/weatherservice .
EXPOSE 8080 EXPOSE 8080
CMD ["/weatherservice"] CMD ["/weatherservice"]