Fix docker

This commit is contained in:
Korbs 2024-12-01 00:24:26 -05:00
parent a5a14d1226
commit 061a945564
5 changed files with 9 additions and 28 deletions

View file

@ -1,6 +1,9 @@
# User is expected to provide their own .env file in their Docker Compose file. # User is expected to provide their own .env file in their Docker Compose file.
# Either with volumes or using the Enviroment option. # Either with volumes or using the Enviroment option.
.env .astro
Dockerfile
docker-compose.yaml
public
# Other Files # Other Files
.DS_Store .DS_Store

View file

@ -1,25 +1,6 @@
#########################################################
# SudoVanilla will never use images from Docker Hub, as #
# Docker Hub is proprietary. SudoVanilla hosts slim #
# versions of Bun's Docker image on SudoVanilla Ark. #
#########################################################
#########################################################
# Other locations to download the image is available #
# #
# Codeberg: #
# codeberg.org/korbs/bun:amd64 #
# codeberg.org/korbs/bun:arm64 #
# #
# Quay: #
# quay.io/sudovanilla/bun:amd64 #
# quay.io/sudovanilla/bun:arm64 #
# #
#########################################################
# Base # Base
## For AMD64 Servers: ## For AMD64 Servers:
FROM ark.sudovanilla.org/korbs/bun:amd64 AS based FROM ark.sudovanilla.org/korbs/node:alpine 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
@ -29,4 +10,4 @@ COPY . .
# Run # Run
EXPOSE 2014 EXPOSE 2014
CMD bun run build && bun start CMD npm run build && npm start

View file

@ -1,11 +1,10 @@
services: services:
butterflyvu: butterflyvu:
image: ark.sudovanilla.org/korbs/butterlyvu:amd64 image: ark.sudovanilla.org/korbs/butterflyvu:amd64
restart: unless-stopped network_mode: bridge
ports:
- 2014:2014
volumes: volumes:
- ./config.json:/app/config.json - ./config.json:/app/config.json
- ./docs/home.mdx:/app/src/content/home.mdx
- ./docs/:/app/src/content/docs/ - ./docs/:/app/src/content/docs/
- ./dists/:/app/dist/ - ./dists/:/app/dist/

View file

@ -10,7 +10,6 @@ const { frontmatter } = Astro.props
import Head from '@components/global/Head.astro' import Head from '@components/global/Head.astro'
import Header from '@components/global/Header.astro' import Header from '@components/global/Header.astro'
import FeelbackYesNo from "astro-feelback/components/FeelbackYesNo.astro"; import FeelbackYesNo from "astro-feelback/components/FeelbackYesNo.astro";
import {Zorn} from "@minpluto/zorn"
// Styles // Styles
import "@styles/index.scss"; import "@styles/index.scss";

View file

@ -1,6 +1,5 @@
{ {
"compilerOptions": { "compilerOptions": {
"strictNullChecks": true,
"allowJs": true, "allowJs": true,
"baseUrl": ".", "baseUrl": ".",
"paths": { "paths": {