bigbossmonster commited on
Commit
fe53072
·
verified ·
1 Parent(s): 76fecb2

Upload Dockerfile with huggingface_hub

Browse files
Files changed (1) hide show
  1. Dockerfile +23 -0
Dockerfile ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Use official Node.js image
2
+ FROM node:18-alpine
3
+
4
+ # Set working directory
5
+ WORKDIR /app
6
+
7
+ # Copy package files
8
+ COPY package.json package-lock.json ./
9
+
10
+ # Install dependencies
11
+ RUN npm install
12
+
13
+ # Copy all files
14
+ COPY . .
15
+
16
+ # Build the application
17
+ RUN npm run build
18
+
19
+ # Expose the port
20
+ EXPOSE 3000
21
+
22
+ # Start the application
23
+ CMD ["npm", "start"]