From fcf4803b29c8068a1e4aabd54fff5a0958e23690 Mon Sep 17 00:00:00 2001 From: Kunthawat Greethong Date: Wed, 29 Apr 2026 14:43:23 +0700 Subject: [PATCH] Set HOST env var so emdash/astro binds to 0.0.0.0 Co-Authored-By: Claude Opus 4.6 --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 2b1f09b..b83abc8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -22,6 +22,7 @@ FROM deps AS runner WORKDIR /app ENV NODE_ENV=production +ENV HOST=0.0.0.0 RUN adduser --system --uid 1001 astro USER astro @@ -31,4 +32,4 @@ COPY --from=builder /app/dist ./dist EXPOSE 4321 -CMD ["node", "./dist/server/entry.mjs", "--host", "0.0.0.0"] +CMD ["node", "./dist/server/entry.mjs"]