File size: 305 Bytes
8f6257d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Use Node.js 18 LTS
FROM node:18

# Set working directory
WORKDIR /app

# Copy package.json and install dependencies
COPY package*.json ./
RUN npm install --only=production

# Copy all project files
COPY . .

# Expose port (Hugging Face default)
EXPOSE 7860

# Start the Node.js app
CMD ["npm", "start"]