Update Dockerfile
Browse files- 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 |
-
|
| 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
|