From b0a7ab4f81c915e15a084977fc63610dae10ffd8 Mon Sep 17 00:00:00 2001 From: greg Date: Wed, 21 May 2025 23:17:44 +0200 Subject: [PATCH] fix: enable Docker container access by adding --host flag to Astro preview command --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 2bcec4c..9779fba 100644 --- a/Dockerfile +++ b/Dockerfile @@ -31,4 +31,4 @@ COPY public ./public EXPOSE 4321 # Start the Astro preview server -CMD ["npx", "astro", "preview"] +CMD ["npx", "astro", "preview", "--host"]