Skip to content

Commit

Permalink
Here we go again 3
Browse files Browse the repository at this point in the history
  • Loading branch information
Fyreum committed Oct 27, 2024
1 parent f08eef2 commit 7025b11
Show file tree
Hide file tree
Showing 4 changed files with 245 additions and 24 deletions.
13 changes: 8 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
FROM node:lts AS build
FROM node:lts AS runtime
WORKDIR /app

COPY . .
RUN npm i

RUN npm install
RUN npm run build

FROM httpd:2.4 AS runtime
COPY --from=build /app/dist /usr/local/apache2/htdocs/
EXPOSE 80
ENV HOST=0.0.0.0
ENV PORT=4321
EXPOSE 4321
CMD node ./dist/server/entry.mjs
35 changes: 22 additions & 13 deletions astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,28 @@
import { defineConfig } from 'astro/config';
import starlight from '@astrojs/starlight';

import node from '@astrojs/node';

// https://astro.build/config
export default defineConfig({
base: '/docs',
integrations: [
starlight({
title: 'Erethon Docs',
social: {
github: 'https://github.com/DRE2N',
},
customCss: [
// Relative path to your custom CSS file
'./src/styles/custom.css',
],
}),
base: '/docs',

integrations: [
starlight({
title: 'Erethon Docs',
social: {
github: 'https://github.com/DRE2N',
},
customCss: [
// Relative path to your custom CSS file
'./src/styles/custom.css',
],
}),
],
});

output: 'server',

adapter: node({
mode: 'standalone',
}),
});
Loading

0 comments on commit 7025b11

Please sign in to comment.