q1340 commited on
Commit
ad0b546
·
verified ·
1 Parent(s): 2da832a

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -3
Dockerfile CHANGED
@@ -6,11 +6,9 @@ USER root
6
  RUN apk add --no-cache nginx libc6-compat gcompat bash curl
7
 
8
  # 2. 准备工作目录
9
- # WORKDIR /app
10
  RUN cp /CLIProxyAPI/CLIProxyAPI ./cli-proxy-api && chmod +x ./cli-proxy-api
11
  RUN mkdir -p /tmp/.cli-proxy-api /tmp/logs /run/nginx && chmod -R 777 /tmp /run/nginx
12
- # 创建空的 config.example.yaml
13
- RUN touch /app/config.example.yaml
14
 
15
  # 3. 拷贝配置
16
  COPY config.yaml /app/config.yaml
 
6
  RUN apk add --no-cache nginx libc6-compat gcompat bash curl
7
 
8
  # 2. 准备工作目录
9
+ WORKDIR /app
10
  RUN cp /CLIProxyAPI/CLIProxyAPI ./cli-proxy-api && chmod +x ./cli-proxy-api
11
  RUN mkdir -p /tmp/.cli-proxy-api /tmp/logs /run/nginx && chmod -R 777 /tmp /run/nginx
 
 
12
 
13
  # 3. 拷贝配置
14
  COPY config.yaml /app/config.yaml