Fix docker
This commit is contained in:
parent
a5a14d1226
commit
061a945564
5 changed files with 9 additions and 28 deletions
|
@ -1,6 +1,9 @@
|
|||
# User is expected to provide their own .env file in their Docker Compose file.
|
||||
# Either with volumes or using the Enviroment option.
|
||||
.env
|
||||
.astro
|
||||
Dockerfile
|
||||
docker-compose.yaml
|
||||
public
|
||||
|
||||
# Other Files
|
||||
.DS_Store
|
23
Dockerfile
23
Dockerfile
|
@ -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
|
||||
## For AMD64 Servers:
|
||||
FROM ark.sudovanilla.org/korbs/bun:amd64 AS based
|
||||
FROM ark.sudovanilla.org/korbs/node:alpine AS based
|
||||
## For ARM64 Servers:
|
||||
## FROM ark.sudovanilla.org/korbs/bun:arm64 as based
|
||||
|
||||
|
@ -29,4 +10,4 @@ COPY . .
|
|||
|
||||
# Run
|
||||
EXPOSE 2014
|
||||
CMD bun run build && bun start
|
||||
CMD npm run build && npm start
|
|
@ -1,11 +1,10 @@
|
|||
services:
|
||||
butterflyvu:
|
||||
image: ark.sudovanilla.org/korbs/butterlyvu:amd64
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- 2014:2014
|
||||
image: ark.sudovanilla.org/korbs/butterflyvu:amd64
|
||||
network_mode: bridge
|
||||
volumes:
|
||||
- ./config.json:/app/config.json
|
||||
- ./docs/home.mdx:/app/src/content/home.mdx
|
||||
- ./docs/:/app/src/content/docs/
|
||||
- ./dists/:/app/dist/
|
||||
|
||||
|
|
|
@ -10,7 +10,6 @@ const { frontmatter } = Astro.props
|
|||
import Head from '@components/global/Head.astro'
|
||||
import Header from '@components/global/Header.astro'
|
||||
import FeelbackYesNo from "astro-feelback/components/FeelbackYesNo.astro";
|
||||
import {Zorn} from "@minpluto/zorn"
|
||||
|
||||
// Styles
|
||||
import "@styles/index.scss";
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
{
|
||||
"compilerOptions": {
|
||||
"strictNullChecks": true,
|
||||
"allowJs": true,
|
||||
"baseUrl": ".",
|
||||
"paths": {
|
||||
|
|
Loading…
Reference in a new issue