feat(Dockerfile): add allowed-hosts to CMD configuration

This commit is contained in:
2025-03-09 14:47:38 +01:00
parent 9b0ecf18c7
commit 22d95d0d44

View File

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