Update Dockerfile
Browse files- Dockerfile +2 -0
Dockerfile
CHANGED
|
@@ -9,6 +9,8 @@ RUN apk add --no-cache nginx libc6-compat gcompat bash curl
|
|
| 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
|
|
|
|
| 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
|