timetable-mgr/Dockerfile

9 lines
190 B
Docker
Raw Permalink Normal View History

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 .
2024-04-28 11:52:00 +01:00
FROM alpine:latest
2024-04-05 22:28:30 +01:00
COPY --from=builder /source/timetable-mgr /bin/timetable-mgr
USER 20400
2024-04-05 22:28:30 +01:00
CMD [ "/bin/timetable-mgr" ]