Spaces:
Running
Running
Create Dockerfile
Browse files- Dockerfile +24 -0
Dockerfile
ADDED
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
FROM node:lts-buster
|
2 |
+
|
3 |
+
RUN apt-get update && \
|
4 |
+
apt-get install -y \
|
5 |
+
git \
|
6 |
+
ffmpeg \
|
7 |
+
imagemagick \
|
8 |
+
webp && \
|
9 |
+
apt-get upgrade -y && \
|
10 |
+
rm -rf /var/lib/apt/lists/*
|
11 |
+
|
12 |
+
WORKDIR /app
|
13 |
+
|
14 |
+
RUN git clone https://diki6969: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@github.com/diki6969/new-uploader.git
|
15 |
+
|
16 |
+
WORKDIR /app/ikyybot
|
17 |
+
|
18 |
+
RUN npm install --force
|
19 |
+
|
20 |
+
EXPOSE 7860
|
21 |
+
|
22 |
+
RUN chmod -R 777 /app
|
23 |
+
|
24 |
+
CMD ["npm", "start"]
|