feat(Dockerfile): add host option to CMD for preview

This commit is contained in:
2025-03-09 14:33:18 +01:00
parent 72f2f1c07d
commit 9eb628971d

View File

@ -35,4 +35,4 @@ ENV __VITE_ADDITIONAL_SERVER_ALLOWED_HOSTS=jleibl.net
ENV __VITE_ADDITIONAL_PREVIEW_ALLOWED_HOSTS=jleibl.net ENV __VITE_ADDITIONAL_PREVIEW_ALLOWED_HOSTS=jleibl.net
# Start the Astro application # Start the Astro application
CMD ["bun", "preview", "--port", "4321"] CMD ["bun", "preview", "--port", "4321", "--host"]