fix: enable Docker container access by adding --host flag to Astro preview command

This commit is contained in:
greg 2025-05-21 23:17:44 +02:00
parent aaf0f94fe9
commit b0a7ab4f81

View File

@ -31,4 +31,4 @@ COPY public ./public
EXPOSE 4321
# Start the Astro preview server
CMD ["npx", "astro", "preview"]
CMD ["npx", "astro", "preview", "--host"]