Compare commits

..

3 Commits

Author SHA1 Message Date
ed6a6428a3 Dockerise 2025-12-12 14:13:25 +00:00
e5cc05519a node.js adapter 2025-12-12 14:13:16 +00:00
a49b62433e tidy gitignore 2025-12-12 14:13:02 +00:00
6 changed files with 1466 additions and 2322 deletions

5
.dockerignore Normal file
View File

@@ -0,0 +1,5 @@
node_modules/
dist/
.helix/
.vscode/
.zed/

1
.gitignore vendored
View File

@@ -24,4 +24,3 @@ pnpm-debug.log*
**/*.tfvars
**/*.tfstate
**/*.tfstate.backup

12
Dockerfile Normal file
View File

@@ -0,0 +1,12 @@
FROM node:lts AS runtime
WORKDIR /app
COPY . .
RUN npm install
RUN npm run build
ENV HOST=0.0.0.0
ENV PORT=4321
EXPOSE 4321
CMD ["node", "./website/dist/server/entry.mjs"]

3755
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -12,6 +12,7 @@
},
"dependencies": {
"@astrojs/mdx": "^4.3.0",
"@astrojs/node": "^9.5.1",
"@astrojs/rss": "^4.0.10",
"@astrojs/sitemap": "^3.2.1",
"astro": "^5.1.1",

View File

@@ -1,10 +1,14 @@
import { defineConfig } from 'astro/config';
import mdx from '@astrojs/mdx';
import { defineConfig } from "astro/config";
import mdx from "@astrojs/mdx";
import node from "@astrojs/node";
import sitemap from '@astrojs/sitemap';
import sitemap from "@astrojs/sitemap";
// https://astro.build/config
export default defineConfig({
site: 'https://joeac.net',
integrations: [mdx(), sitemap()],
adapter: node({
mode: "standalone",
}),
site: "https://joeac.net",
integrations: [mdx(), sitemap()],
});