File size: 290 Bytes
1cf3e52
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
FROM node:20-alpine

WORKDIR /app

# Install dependencies
COPY package*.json ./
RUN npm install
RUN npm install express

# Copy source code and build
COPY . .
RUN npm run build

# Expose port required by Hugging Face Spaces
EXPOSE 7860

# Start the express server
CMD ["node", "server.js"]