build from alpine instead of scratch
This commit is contained in:
1 parent
088eabf033
commit
fd947ac105
1 file changed
+1
-1
+1
-1
@@ -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"]
|
||||
Reference in new issue
Block a user