Spaces:
gnosticdev
/
Runtime error

gnosticdev commited on
Commit
6a5a000
·
verified ·
1 Parent(s): 217486b

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -3
Dockerfile CHANGED
@@ -15,8 +15,10 @@ COPY --chown=1000 . .
15
  RUN npm install
16
  RUN npm run build
17
 
18
- # Expose the application port (assuming your app runs on port 3000)
19
- EXPOSE 5173
 
 
20
 
21
  # Start the application
22
- CMD ["sh", "-c", "PORT=7860 npm start"]
 
15
  RUN npm install
16
  RUN npm run build
17
 
18
+ # --- LOS CAMBIOS ESTÁN AQUÍ ABAJO ---
19
+ # Forzar el puerto que exige Hugging Face
20
+ ENV PORT=7860
21
+ EXPOSE 7860
22
 
23
  # Start the application
24
+ CMD ["npm", "start"]