wIK5Ez2o commited on
Commit
c3a1b8c
·
verified ·
1 Parent(s): 11a070b

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +8 -1
Dockerfile CHANGED
@@ -10,12 +10,19 @@ RUN make
10
  # RUN make build-win
11
 
12
  FROM alpine:3.19.0
13
- RUN apk add curl unzip
14
  WORKDIR /app
15
  COPY --from=builder /app/bin/linux/server ./server
16
  ADD config.yaml .
17
  RUN chmod +x server
18
 
 
 
 
 
 
 
 
19
  # 下载过盾文件
20
  RUN curl -JLO https://raw.githubusercontent.com/bincooo/chatgpt-adapter/refs/heads/hel/bin.zip
21
  RUN unzip bin.zip && tree .
 
10
  # RUN make build-win
11
 
12
  FROM alpine:3.19.0
13
+ RUN apk add curl unzip wget
14
  WORKDIR /app
15
  COPY --from=builder /app/bin/linux/server ./server
16
  ADD config.yaml .
17
  RUN chmod +x server
18
 
19
+ # Install google
20
+ RUN wget -q -O - https://dl.google.com/linux/linux_signing_key.pub | apt-key add - \
21
+ && echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list \
22
+ && apt-get update \
23
+ && apt-get install -y google-chrome-stable
24
+ RUN google-chrome-stable --version
25
+
26
  # 下载过盾文件
27
  RUN curl -JLO https://raw.githubusercontent.com/bincooo/chatgpt-adapter/refs/heads/hel/bin.zip
28
  RUN unzip bin.zip && tree .