reikernx commited on
Commit
7cf9712
·
verified ·
1 Parent(s): 0fe515c

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +17 -0
Dockerfile ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Use Node.js 20 base image
2
+ FROM node:20
3
+
4
+ # Set working directory
5
+ WORKDIR /app
6
+
7
+ # Copy your server.js file into the container
8
+ COPY server.js .
9
+
10
+ # Install dependencies inline (no package.json)
11
+ RUN npm install express axios cheerio
12
+
13
+ # Expose the app port
14
+ EXPOSE 7860
15
+
16
+ # Run the app
17
+ CMD ["node", "server.js"]