worst build system ever v3
This commit is contained in:
parent
8563bbc36e
commit
fca398c624
@ -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"]
|
Loading…
Reference in New Issue
Block a user