clone3 commited on
Commit
d823cdc
·
verified ·
1 Parent(s): 166c579

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +17 -0
Dockerfile ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Use Node.js 18 base image
2
+ FROM node:18
3
+
4
+ # Set the working directory inside the container
5
+ WORKDIR /app
6
+
7
+ # Clone the repository
8
+ RUN git clone https://github.com/ChrisCindy/node-web-console.git .
9
+
10
+ # Install dependencies
11
+ RUN npm install
12
+
13
+ # Expose the port the app runs on
14
+ EXPOSE 7860
15
+
16
+ # Start the application
17
+ CMD ["npm", "start"]