9 lines
190 B
Docker
9 lines
190 B
Docker
FROM golang:alpine as builder
|
|
WORKDIR /source
|
|
COPY . .
|
|
RUN go build .
|
|
|
|
FROM alpine:latest
|
|
COPY --from=builder /source/timetable-mgr /bin/timetable-mgr
|
|
USER 20400
|
|
CMD [ "/bin/timetable-mgr" ] |