fuck this shit
This commit is contained in:
parent
4e1c629ff3
commit
46129a6693
@ -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"]
|
||||
|
Loading…
Reference in New Issue
Block a user