Update dockerfile for new repo layout

This commit is contained in:
Fred Boniface 2024-04-05 22:28:30 +01:00
parent 493fb41da8
commit 426c5f02e8

View File

@ -1,8 +1,8 @@
FROM golang:alpine as builder
WORKDIR /source
COPY ./src .
COPY . .
RUN go build .
FROM scratch
COPY --from=builder /source/mq-client /bin/mq-client
CMD [ "/bin/mq-client" ]
COPY --from=builder /source/timetable-mgr /bin/timetable-mgr
CMD [ "/bin/timetable-mgr" ]