From 87eb47b87773cd6b00ea79cc6b0cd98ed148b611 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20N=C3=BDvlt?= Date: Fri, 23 Feb 2024 19:21:11 +0100 Subject: [PATCH] Fix docker --- Dockerfile | 1 + astro.config.mjs | 1 + 2 files changed, 2 insertions(+) diff --git a/Dockerfile b/Dockerfile index 5263055..e3721d3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,6 +13,7 @@ COPY . . RUN npm run migrate RUN npm run build +ENV HOST=0.0.0.0 EXPOSE 8000 CMD ["dist/server/entry.mjs"] diff --git a/astro.config.mjs b/astro.config.mjs index ea54522..fdb9df3 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -11,6 +11,7 @@ export default defineConfig({ mode: "standalone", }), server: { + host: "0.0.0.0", port: 8000, }, });