File size: 314 Bytes
d613519
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
FROM node:20

WORKDIR /app

# Copy package files first for caching
COPY package*.json ./
RUN npm install --ignore-scripts

# Copy source files
COPY . .

# Run prep build scripts
RUN npm run build:css

# Set Hugging Face environment defaults
ENV PORT=7860
ENV NODE_ENV=production

EXPOSE 7860

CMD ["npm", "start"]