Spaces:
Paused
Paused
Commit
·
bd9e939
1
Parent(s):
d0df559
部署
Browse files
Dockerfile
CHANGED
|
@@ -3,6 +3,15 @@ FROM eceasy/cli-proxy-api:latest
|
|
| 3 |
#复制配置文件到容器内
|
| 4 |
WORKDIR /CLIProxyAPI
|
| 5 |
COPY config.yaml /CLIProxyAPI/config.yaml
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 6 |
|
| 7 |
# 声明容器会监听的端口。
|
| 8 |
# 这些端口对应于 docker run 命令中的 -p 参数的容器侧端口。
|
|
|
|
| 3 |
#复制配置文件到容器内
|
| 4 |
WORKDIR /CLIProxyAPI
|
| 5 |
COPY config.yaml /CLIProxyAPI/config.yaml
|
| 6 |
+
COPY auths /root/.cli-proxy-api
|
| 7 |
+
COPY logs /CLIProxyAPI/logs
|
| 8 |
+
COPY conv /CLIProxyAPI/cnov
|
| 9 |
+
|
| 10 |
+
#修改权限
|
| 11 |
+
# RUN chmod 777 /CLIProxyAPI/config.yaml
|
| 12 |
+
# RUN chmod 777 /root/.cli-proxy-api
|
| 13 |
+
# RUN chmod 777 /CLIProxyAPI/logs
|
| 14 |
+
# RUN chmod 777 /CLIProxyAPI/conv
|
| 15 |
|
| 16 |
# 声明容器会监听的端口。
|
| 17 |
# 这些端口对应于 docker run 命令中的 -p 参数的容器侧端口。
|
auth/1
DELETED
|
File without changes
|
conv/1
DELETED
|
File without changes
|
logs/1
DELETED
|
@@ -1 +0,0 @@
|
|
| 1 |
-
1
|
|
|
|
|
|