Ditch SSR method
This commit is contained in:
parent
56b61b2c1e
commit
f68bb92804
5 changed files with 5 additions and 32 deletions
|
@ -4,5 +4,3 @@
|
||||||
|
|
||||||
# Other Files
|
# Other Files
|
||||||
.DS_Store
|
.DS_Store
|
||||||
dist
|
|
||||||
node_modules
|
|
10
Dockerfile
10
Dockerfile
|
@ -19,7 +19,7 @@
|
||||||
|
|
||||||
# Base
|
# Base
|
||||||
## For AMD64 Servers:
|
## For AMD64 Servers:
|
||||||
FROM ark.sudovanilla.org/korbs/bun:arm64 AS based
|
FROM ark.sudovanilla.org/korbs/bun:amd64 AS based
|
||||||
## For ARM64 Servers:
|
## For ARM64 Servers:
|
||||||
## FROM ark.sudovanilla.org/korbs/bun:arm64 as based
|
## FROM ark.sudovanilla.org/korbs/bun:arm64 as based
|
||||||
|
|
||||||
|
@ -30,10 +30,6 @@ COPY . .
|
||||||
# Run in Production
|
# Run in Production
|
||||||
ENV NODE_ENV=production
|
ENV NODE_ENV=production
|
||||||
|
|
||||||
# Build
|
|
||||||
RUN bun install && bun run build
|
|
||||||
|
|
||||||
# Run
|
# Run
|
||||||
USER bun
|
EXPOSE 2014
|
||||||
EXPOSE 2014/tcp
|
CMD bun run build && bun start
|
||||||
CMD bun ./dist/server/entry.mjs
|
|
|
@ -3,9 +3,6 @@ import { defineConfig } from 'astro/config'
|
||||||
// Settings
|
// Settings
|
||||||
import { SiteSettings } from './config.json'
|
import { SiteSettings } from './config.json'
|
||||||
|
|
||||||
// Adapters
|
|
||||||
import bun from 'astro-bun-adapter'
|
|
||||||
|
|
||||||
// Integrations
|
// Integrations
|
||||||
import mdx from '@astrojs/mdx'
|
import mdx from '@astrojs/mdx'
|
||||||
|
|
||||||
|
@ -19,9 +16,8 @@ export default defineConfig({
|
||||||
mdx()
|
mdx()
|
||||||
],
|
],
|
||||||
// Server Output
|
// Server Output
|
||||||
output: "server",
|
output: "static",
|
||||||
prefetch: true,
|
prefetch: true,
|
||||||
adapter: bun(),
|
|
||||||
server: {
|
server: {
|
||||||
port: 2014,
|
port: 2014,
|
||||||
host: true
|
host: true
|
||||||
|
|
|
@ -34,7 +34,6 @@
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@astrojs/mdx": "4.0.0-beta.2",
|
"@astrojs/mdx": "4.0.0-beta.2",
|
||||||
"@astrojs/prism": "3.0.0-beta.0",
|
"@astrojs/prism": "3.0.0-beta.0",
|
||||||
"@minpluto/zorn": "^0.4.64",
|
|
||||||
"astro": "5.0.0-beta.5",
|
"astro": "5.0.0-beta.5",
|
||||||
"astro-analytics": "^2.7.0",
|
"astro-analytics": "^2.7.0",
|
||||||
"astro-breadcrumbs": "^3.2.0",
|
"astro-breadcrumbs": "^3.2.0",
|
||||||
|
|
|
@ -3,7 +3,6 @@ Type: Document
|
||||||
Title: Components
|
Title: Components
|
||||||
---
|
---
|
||||||
|
|
||||||
import {Zorn} from '@minpluto/zorn'
|
|
||||||
import { Prism } from '@astrojs/prism';
|
import { Prism } from '@astrojs/prism';
|
||||||
|
|
||||||
Documentation template for the Astro Web Framework.
|
Documentation template for the Astro Web Framework.
|
||||||
|
@ -48,21 +47,6 @@ Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor i
|
||||||
} />
|
} />
|
||||||
|
|
||||||
|
|
||||||
```jsx
|
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
## Zorn Player
|
|
||||||
<Zorn
|
|
||||||
PlayerName="nameit_whatever_you_want"
|
|
||||||
Poster="https://md.sudovanilla.org/images/eay-p-v.jpg"
|
|
||||||
Video="https://ocean.sudovanilla.org/media/videos/Ennie%20and%20Yoyki/Ennie%20and%20Yoyki%3A%20Non-Girly%20Games.mp4"
|
|
||||||
CustomControls
|
|
||||||
Milieu
|
|
||||||
/>
|
|
||||||
|
|
||||||
A custom video player tailored for MinPluto.
|
|
||||||
|
|
||||||
## Video Player
|
## Video Player
|
||||||
|
|
||||||
<video controls src="https://md.sudovanilla.org/videos/webm/Ennie-and-Yoyki.webm" poster="https://md.sudovanilla.org/images/eay-p-v.jpg"></video>
|
<video controls src="https://md.sudovanilla.org/videos/webm/Ennie-and-Yoyki.webm" poster="https://md.sudovanilla.org/images/eay-p-v.jpg"></video>
|
||||||
|
|
Loading…
Reference in a new issue