Spaces:
Paused
Paused
Upload Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
|
@@ -16,7 +16,7 @@ RUN wget https://github.com/cloudreve/Cloudreve/releases/download/3.8.3/cloudrev
|
|
| 16 |
|
| 17 |
# 更改 /app 目录的权限
|
| 18 |
RUN chmod 777 /app
|
| 19 |
-
|
| 20 |
# 赋予执行权限
|
| 21 |
RUN chmod +x ./cloudreve
|
| 22 |
|
|
@@ -24,4 +24,4 @@ RUN chmod +x ./cloudreve
|
|
| 24 |
EXPOSE 7860
|
| 25 |
|
| 26 |
# 启动 Cloudreve
|
| 27 |
-
CMD ["./cloudreve","-c","/conf.ini"]
|
|
|
|
| 16 |
|
| 17 |
# 更改 /app 目录的权限
|
| 18 |
RUN chmod 777 /app
|
| 19 |
+
COPY conf.ini /app/conf.ini
|
| 20 |
# 赋予执行权限
|
| 21 |
RUN chmod +x ./cloudreve
|
| 22 |
|
|
|
|
| 24 |
EXPOSE 7860
|
| 25 |
|
| 26 |
# 启动 Cloudreve
|
| 27 |
+
CMD ["./cloudreve","-c","/app/conf.ini"]
|