build from alpine instead of scratch
This commit is contained in:
parent
088eabf033
commit
fd947ac105
@ -4,6 +4,6 @@ WORKDIR /root/
|
||||
COPY . /root/
|
||||
RUN go build -o /root/matrix-handler cmd/svr/main.go
|
||||
|
||||
FROM scratch
|
||||
FROM alpine
|
||||
COPY --from=build /root/matrix-handler /bin/matrix-handler
|
||||
ENTRYPOINT ["/bin/matrix-handler"]
|
Loading…
Reference in New Issue
Block a user