Skip to content

Commit

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

COPY . .

RUN npm install
RUN npm i
RUN npm run build

ENV HOST=0.0.0.0
ENV PORT=4321
EXPOSE 4321
CMD node ./dist/server/entry.mjs
FROM httpd:2.4 AS runtime
COPY --from=build /app/dist /usr/local/apache2/htdocs/
EXPOSE 80
35 changes: 13 additions & 22 deletions astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -2,28 +2,19 @@
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 f3df675

Please sign in to comment.