diff --git a/Dockerfile b/Dockerfile index e93d4fc..0e67283 100644 --- a/Dockerfile +++ b/Dockerfile @@ -35,4 +35,4 @@ ENV __VITE_ADDITIONAL_SERVER_ALLOWED_HOSTS=jleibl.net ENV __VITE_ADDITIONAL_PREVIEW_ALLOWED_HOSTS=jleibl.net # Start the Astro application -CMD ["bun", "preview", "--host"] +CMD ["bun", "preview", "--port", "4321"] diff --git a/astro.config.mjs b/astro.config.mjs index 728401a..6f753cd 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -18,6 +18,12 @@ export default defineConfig({ ], vite: { - plugins: [tailwindcss()] + plugins: [tailwindcss()], + server: { + port: 4321 + }, + preview: { + port: 4321 + } } }); \ No newline at end of file