Use the official RSSHub container

This commit is contained in:
2023-02-09 23:13:09 -05:00
parent 8f832ab45b
commit 04e59e53f3
3 changed files with 2 additions and 20 deletions

View File

@@ -3,7 +3,7 @@
"title": "RSSHub",
"id": "com.hwarf.rsshub",
"version": "1.0.0",
"runtimeDirs": [ "/home/cloudron/.npm" ],
"runtimeDirs": [ "/root/.npm" ],
"healthCheckPath": "/",
"httpPort": 1200,
"addons": {

View File

@@ -1,13 +1 @@
FROM cloudron/base:4.0.0@sha256:31b195ed0662bdb06a6e8a5ddbedb6f191ce92e8bee04c03fb02dd4e9d0286df
RUN mkdir -p /app/code
WORKDIR /app/code/
RUN git clone https://git.hwarf.com/jglemza/RSSHub.git /app/code
RUN npm install --omit=dev
#RUN npm ci --omit=dev
COPY start.sh /app/pkg/
CMD [ "/app/pkg/start.sh" ]
FROM diygod/rsshub

View File

@@ -1,6 +0,0 @@
#!/bin/bash
set -ex
echo "Start RSSHub"
chown -R cloudron:cloudron /home/cloudron/.npm
exec /usr/local/bin/gosu cloudron:cloudron npm start --prefix /app/code