Epikcoder
commited on
Commit
·
9765f38
1
Parent(s):
88ccbf7
varo gendeng
Browse files- Dockerfile +39 -0
- README.md +8 -0
- beta.js +1 -1
Dockerfile
ADDED
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
FROM node:20-alpine3.16
|
2 |
+
|
3 |
+
# Set the working directory
|
4 |
+
WORKDIR /app
|
5 |
+
|
6 |
+
# Copy the application files to the container
|
7 |
+
ADD . /app
|
8 |
+
|
9 |
+
# Install necessary packages
|
10 |
+
RUN apk add --no-cache \
|
11 |
+
font-noto \
|
12 |
+
font-noto-cjk \
|
13 |
+
font-noto-extra \
|
14 |
+
gcompat \
|
15 |
+
libstdc++ \
|
16 |
+
libuuid \
|
17 |
+
vips-dev \
|
18 |
+
build-base \
|
19 |
+
jpeg-dev \
|
20 |
+
pango-dev \
|
21 |
+
cairo-dev \
|
22 |
+
imagemagick \
|
23 |
+
libssl1.1 \
|
24 |
+
giflib-dev \
|
25 |
+
librsvg-dev \
|
26 |
+
cairo \
|
27 |
+
pango
|
28 |
+
|
29 |
+
# Install npm dependencies
|
30 |
+
RUN npm install
|
31 |
+
|
32 |
+
# Link the resolver library
|
33 |
+
RUN ln -s /lib/libresolv.so.2 /usr/lib/libresolv.so.2
|
34 |
+
|
35 |
+
# Expose the application port
|
36 |
+
EXPOSE 7860
|
37 |
+
|
38 |
+
# Start the application
|
39 |
+
CMD ["node", "beta.js"]
|
README.md
CHANGED
@@ -91,3 +91,11 @@ npm start "https://www.everand.com/listen/podcast/731670963"
|
|
91 |
|
92 |
## License ##
|
93 |
This project is licensed under the [MIT License](LICENSE.md)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
91 |
|
92 |
## License ##
|
93 |
This project is licensed under the [MIT License](LICENSE.md)
|
94 |
+
|
95 |
+
---
|
96 |
+
title: scribd-dl-hf
|
97 |
+
sdk: docker
|
98 |
+
emoji: 📄
|
99 |
+
colorFrom: green
|
100 |
+
colorTo: blue
|
101 |
+
---
|
beta.js
CHANGED
@@ -71,4 +71,4 @@ app.listen(port, () => {
|
|
71 |
console.log("listening on port: " + port)
|
72 |
})
|
73 |
|
74 |
-
await main(`https://www.scribd.com/doc/252120132/Rangkaian-Alarm-Anti-Maling`);
|
|
|
71 |
console.log("listening on port: " + port)
|
72 |
})
|
73 |
|
74 |
+
// await main(`https://www.scribd.com/doc/252120132/Rangkaian-Alarm-Anti-Maling`);
|