API-XX commited on
Commit
7193b10
·
verified ·
1 Parent(s): 7bb1e91

Upload Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +21 -0
Dockerfile ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Use a lightweight Node.js 21 image
2
+ FROM node:21-bullseye
3
+
4
+ # Set working directory
5
+ WORKDIR /app
6
+
7
+ # Clone the repository (Change the URL to your repo)
8
+ RUN git clone https://github.com/BLUEXDEMONl/REBORN.git /app
9
+
10
+ # Set correct permissions
11
+ RUN chmod -R 777 /app
12
+
13
+ # Install project dependencies
14
+ WORKDIR /app
15
+ RUN npm install
16
+
17
+ # Expose a port
18
+ EXPOSE 3000
19
+
20
+ # Start the application
21
+ CMD ["node", "server.js"]