Update Dockerfile
Browse files- Dockerfile +13 -0
Dockerfile
CHANGED
@@ -1 +1,14 @@
|
|
1 |
FROM drfyup/fycursor:latest
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
FROM drfyup/fycursor:latest
|
2 |
+
|
3 |
+
# 确保文件权限正确
|
4 |
+
RUN chmod 777 /app && \
|
5 |
+
chmod 777 /app/.token && \
|
6 |
+
chmod 777 /app/.token-list && \
|
7 |
+
chmod 755 /app/cursor-api
|
8 |
+
|
9 |
+
# 设置工作目录
|
10 |
+
WORKDIR /app
|
11 |
+
|
12 |
+
|
13 |
+
# 启动命令
|
14 |
+
CMD ["./cursor-api"]
|