File size: 316 Bytes
0a31f66
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Use official Node.js LTS image
FROM node:18-slim

# Set the main working directory inside the container
WORKDIR /app

# Copy all files into the container
COPY . .

# Install all dependencies
RUN npm install

# Expose the port so Hugging Face can access the app
EXPOSE 7860

# Start the server
CMD ["npm", "start"]