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"]