timetable-mgr/Dockerfile

8 lines
173 B
Docker

FROM golang:alpine as builder
WORKDIR /source
COPY . .
RUN go build .
FROM scratch
COPY --from=builder /source/timetable-mgr /bin/timetable-mgr
CMD [ "/bin/timetable-mgr" ]