nagur-shareef-shaik commited on
Commit
7eb34f8
·
1 Parent(s): 311da74

Updated Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -40,5 +40,5 @@ EXPOSE 3000
40
  ENV NODE_ENV=production
41
  ENV PORT=3000
42
 
43
- # Start the application with Vite preview
44
- CMD ["npm", "run", "preview"]
 
40
  ENV NODE_ENV=production
41
  ENV PORT=3000
42
 
43
+ # Start the application with Vite preview, ensuring port 3000 and no browser auto-open
44
+ CMD ["npm", "run", "preview", "--", "--port", "3000", "--host", "0.0.0.0"]