timetable-mgr/Dockerfile

8 lines
165 B
Docker
Raw Permalink Normal View History

2023-07-25 12:48:46 +01:00
FROM golang:alpine as builder
WORKDIR /source
COPY ./src .
RUN go build .
FROM scratch
COPY --from=builder /source/mq-client /bin/mq-client
CMD [ "/bin/mq-client" ]