aboutsummaryrefslogtreecommitdiff
path: root/web
diff options
context:
space:
mode:
Diffstat (limited to 'web')
-rw-r--r--web/Dockerfile9
-rw-r--r--web/astro.config.mjs8
-rw-r--r--web/bun.lockbbin172416 -> 179198 bytes
-rw-r--r--web/package.json1
4 files changed, 17 insertions, 1 deletions
diff --git a/web/Dockerfile b/web/Dockerfile
new file mode 100644
index 0000000..e021df4
--- /dev/null
+++ b/web/Dockerfile
@@ -0,0 +1,9 @@
+FROM oven/bun:latest
+
+WORKDIR /web
+
+COPY . .
+
+RUN bun run build
+
+ENTRYPOINT ["bun", "run", "/web/dist/server/entry.mjs"]
diff --git a/web/astro.config.mjs b/web/astro.config.mjs
index 515ddf0..c0fd9ad 100644
--- a/web/astro.config.mjs
+++ b/web/astro.config.mjs
@@ -3,7 +3,13 @@ import { defineConfig } from 'astro/config';
import react from '@astrojs/react';
+import node from '@astrojs/node';
+
// https://astro.build/config
export default defineConfig({
- integrations: [react()]
+ integrations: [react()],
+
+ adapter: node({
+ mode: 'standalone'
+ })
});
diff --git a/web/bun.lockb b/web/bun.lockb
index b648049..26b85b4 100644
--- a/web/bun.lockb
+++ b/web/bun.lockb
Binary files differ
diff --git a/web/package.json b/web/package.json
index 811ab8b..2a7be8a 100644
--- a/web/package.json
+++ b/web/package.json
@@ -9,6 +9,7 @@
"astro": "astro"
},
"dependencies": {
+ "@astrojs/node": "^9.0.0",
"@astrojs/react": "^4.1.3",
"@types/react": "^19.0.4",
"@types/react-dom": "^19.0.2",