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-16 19:20:19 +01:00
|
|
|
USER nobody
|
2024-04-05 22:28:30 +01:00
|
|
|
CMD [ "/bin/timetable-mgr" ]
|