penguin/golifehk

@golifehk bot in Telegram

commit f022b237efe003c576f769158df411080b798fbd

author斟酌 鵬兄 <tgckpg@gmail.com>
date2022-09-14T15:48:00Z
subjectno chown
commit f022b237efe003c576f769158df411080b798fbd
Author: 斟酌 鵬兄 <tgckpg@gmail.com>
Date:   2022-09-14T15:48:00Z

    no chown
---
 Dockerfile | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/Dockerfile b/Dockerfile
index 5403543..a9f4261 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -14,8 +14,7 @@ RUN go build -o /golifehkbot
 
 FROM scratch
 
-COPY --chown=0:0 --from=build /golifehkbot /
+COPY --from=build /golifehkbot /
 
 WORKDIR /tmp
-
 CMD [ "/golifehkbot" ]