王昱
commited on
Commit
·
8207ffa
1
Parent(s):
2f3f4cc
init
Browse files- .DS_Store +0 -0
- Dockerfile +12 -10
- README.md +1 -0
.DS_Store
CHANGED
|
Binary files a/.DS_Store and b/.DS_Store differ
|
|
|
Dockerfile
CHANGED
|
@@ -1,10 +1,12 @@
|
|
| 1 |
-
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
|
|
|
|
|
|
|
|
| 1 |
+
FROM diygod/rsshub:latest
|
| 2 |
+
|
| 3 |
+
ENV NODE_ENV production
|
| 4 |
+
ENV PORT 7860
|
| 5 |
+
ENV ALLOW_ORIGIN '*'
|
| 6 |
+
ENV BASE_URL=''
|
| 7 |
+
ENV LOGGER_LEVEL=debug # 添加这行以获取更详细的日志
|
| 8 |
+
|
| 9 |
+
EXPOSE 7860
|
| 10 |
+
|
| 11 |
+
HEALTHCHECK --interval=30s --timeout=30s --start-period=5s --retries=3 \
|
| 12 |
+
CMD curl -f http://localhost:7860/ || exit 1
|
README.md
CHANGED
|
@@ -4,5 +4,6 @@ emoji: 📰
|
|
| 4 |
colorFrom: blue
|
| 5 |
colorTo: green
|
| 6 |
sdk: docker
|
|
|
|
| 7 |
pinned: false
|
| 8 |
---
|
|
|
|
| 4 |
colorFrom: blue
|
| 5 |
colorTo: green
|
| 6 |
sdk: docker
|
| 7 |
+
app_port: 7860 # 确保这行存在
|
| 8 |
pinned: false
|
| 9 |
---
|