Bottomg32311 commited on
Commit
ca04de9
·
verified ·
1 Parent(s): 884c897

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +10 -3
Dockerfile CHANGED
@@ -1,4 +1,11 @@
1
- FROM diegosouzapw/omniroute:latest
 
 
 
 
2
 
3
- # Bind to all network interfaces so Hugging Face can route it
4
- ENV HOSTNAME="0.0.0.0"
 
 
 
 
1
+ FROM node:20-alpine
2
+ WORKDIR /app
3
+ COPY . .
4
+ RUN npm install
5
+ RUN npm run build
6
 
7
+ # Crucial for Hugging Face Spaces
8
+ ENV PORT=7860
9
+ EXPOSE 7860
10
+
11
+ CMD ["npm", "run", "start"]