Compare commits
3 Commits
cc9a580fe6
...
ed6a6428a3
| Author | SHA1 | Date | |
|---|---|---|---|
| ed6a6428a3 | |||
| e5cc05519a | |||
| a49b62433e |
5
.dockerignore
Normal file
5
.dockerignore
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
node_modules/
|
||||||
|
dist/
|
||||||
|
.helix/
|
||||||
|
.vscode/
|
||||||
|
.zed/
|
||||||
1
.gitignore
vendored
1
.gitignore
vendored
@@ -24,4 +24,3 @@ pnpm-debug.log*
|
|||||||
**/*.tfvars
|
**/*.tfvars
|
||||||
**/*.tfstate
|
**/*.tfstate
|
||||||
**/*.tfstate.backup
|
**/*.tfstate.backup
|
||||||
|
|
||||||
|
|||||||
12
Dockerfile
Normal file
12
Dockerfile
Normal 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
3755
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -12,6 +12,7 @@
|
|||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@astrojs/mdx": "^4.3.0",
|
"@astrojs/mdx": "^4.3.0",
|
||||||
|
"@astrojs/node": "^9.5.1",
|
||||||
"@astrojs/rss": "^4.0.10",
|
"@astrojs/rss": "^4.0.10",
|
||||||
"@astrojs/sitemap": "^3.2.1",
|
"@astrojs/sitemap": "^3.2.1",
|
||||||
"astro": "^5.1.1",
|
"astro": "^5.1.1",
|
||||||
|
|||||||
@@ -1,10 +1,14 @@
|
|||||||
import { defineConfig } from 'astro/config';
|
import { defineConfig } from "astro/config";
|
||||||
import mdx from '@astrojs/mdx';
|
import mdx from "@astrojs/mdx";
|
||||||
|
import node from "@astrojs/node";
|
||||||
|
|
||||||
import sitemap from '@astrojs/sitemap';
|
import sitemap from "@astrojs/sitemap";
|
||||||
|
|
||||||
// https://astro.build/config
|
// https://astro.build/config
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
site: 'https://joeac.net',
|
adapter: node({
|
||||||
integrations: [mdx(), sitemap()],
|
mode: "standalone",
|
||||||
|
}),
|
||||||
|
site: "https://joeac.net",
|
||||||
|
integrations: [mdx(), sitemap()],
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user