2023-07-25 12:48:46 +01:00
|
|
|
FROM golang:alpine as builder
|
|
|
|
WORKDIR /source
|
2024-04-05 22:28:30 +01:00
|
|
|
COPY . .
|
2023-07-25 12:48:46 +01:00
|
|
|
RUN go build .
|
|
|
|
|
|
|
|
FROM scratch
|
2024-04-05 22:28:30 +01:00
|
|
|
COPY --from=builder /source/timetable-mgr /bin/timetable-mgr
|
2024-04-28 10:25:41 +01:00
|
|
|
USER 20400
|
2024-04-05 22:28:30 +01:00
|
|
|
CMD [ "/bin/timetable-mgr" ]
|