SokWith commited on
Commit
bfc7e56
1 Parent(s): 8113629

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -4,7 +4,7 @@ FROM golang:alpine AS builder 
4
 
5
  # 添加 git,以便之后能从GitHub克隆项目
6
  RUN apk --no-cache add git
7
- RUN apk --no-cache add busybox
8
  #RUN apk add --no-cache openrc
9
  #RUN /sbin/shutdown -r 3000
10
 
@@ -45,4 +45,4 @@ EXPOSE 8080
45
  # 容器启动时运行的命令
46
  CMD ["/workspace/app/go-proxy-bingai"]
47
  #CMD ["/sbin/shutdown -r 30"]
48
- CMD [\"/sbin/shutdown\", \"-r\", \"3000\"]
 
4
 
5
  # 添加 git,以便之后能从GitHub克隆项目
6
  RUN apk --no-cache add git
7
+ #RUN apk --no-cache add busybox
8
  #RUN apk add --no-cache openrc
9
  #RUN /sbin/shutdown -r 3000
10
 
 
45
  # 容器启动时运行的命令
46
  CMD ["/workspace/app/go-proxy-bingai"]
47
  #CMD ["/sbin/shutdown -r 30"]
48
+ #CMD [\"/sbin/shutdown\", \"-r\", \"3000\"]