Update dockerfile for new repo layout
This commit is contained in:
parent
493fb41da8
commit
426c5f02e8
@ -1,8 +1,8 @@
|
|||||||
FROM golang:alpine as builder
|
FROM golang:alpine as builder
|
||||||
WORKDIR /source
|
WORKDIR /source
|
||||||
COPY ./src .
|
COPY . .
|
||||||
RUN go build .
|
RUN go build .
|
||||||
|
|
||||||
FROM scratch
|
FROM scratch
|
||||||
COPY --from=builder /source/mq-client /bin/mq-client
|
COPY --from=builder /source/timetable-mgr /bin/timetable-mgr
|
||||||
CMD [ "/bin/mq-client" ]
|
CMD [ "/bin/timetable-mgr" ]
|
Loading…
Reference in New Issue
Block a user