NexusV1 commited on
Commit
8b340cc
·
verified ·
1 Parent(s): 9ed53ad

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +25 -0
Dockerfile ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Base image with Node.js
2
+ FROM node:20
3
+
4
+ # Install FFmpeg
5
+
6
+ # Create app directory
7
+ WORKDIR /app
8
+
9
+ # Copy package files
10
+
11
+ # Install dependencies
12
+ RUN npm install uuid express axios multer cors mime-types
13
+
14
+ # Copy rest of the app
15
+ RUN git clone https://github.com/ReirLair/newX.git /app
16
+ COPY . .
17
+
18
+ # Set 777 permissions on app directory
19
+ RUN chmod -R 777 /app
20
+
21
+ # Expose the app port
22
+ EXPOSE 7860
23
+
24
+ # Start the server
25
+ CMD ["node", "server.js"]