Create Dockerfile
Browse files- Dockerfile +13 -0
Dockerfile
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
FROM archlinux
|
| 2 |
+
|
| 3 |
+
RUN pacman -Syu --noconfirm --overwrite '*'
|
| 4 |
+
RUN pacman -S nodejs pnpm git git-lfs base-devel --noconfirm --overwrite '*'
|
| 5 |
+
|
| 6 |
+
WORKDIR /
|
| 7 |
+
RUN git clone https://github.com/DIYgod/RSSHub.git rsshub
|
| 8 |
+
WORKDIR /rsshub
|
| 9 |
+
|
| 10 |
+
RUN pnpm i
|
| 11 |
+
RUN pnpm build
|
| 12 |
+
|
| 13 |
+
CMD ["pnpm", "start"]
|