aboutsummaryrefslogtreecommitdiff
path: root/web
diff options
context:
space:
mode:
authorAndrew Lee <andrew@alee14.me>2025-01-12 00:42:57 -0500
committerAndrew Lee <andrew@alee14.me>2025-01-12 00:42:57 -0500
commit9b484f3f18c7fb4c6d85cb696999271c993e9753 (patch)
tree015e8191749291080768e07858004683c7a24be0 /web
parent7e65ae0e135098acad76b8081f34478b4efc077f (diff)
downloadAleeBot-9b484f3f18c7fb4c6d85cb696999271c993e9753.tar.gz
AleeBot-9b484f3f18c7fb4c6d85cb696999271c993e9753.tar.bz2
AleeBot-9b484f3f18c7fb4c6d85cb696999271c993e9753.zip
Updated packages; Docker support for web; Fixed issues with author image
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",