timetable-mgr/Dockerfile
Fred Boniface b93d36dacd
All checks were successful
Go Test / test (push) Successful in 53s
Tidying error handling and adding some fluff.
2024-04-28 10:25:41 +01:00

9 lines
184 B
Docker

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