Spaces:
Sleeping
Sleeping
Commit ·
7eb34f8
1
Parent(s): 311da74
Updated Dockerfile
Browse files- 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"]
|