yggdrasil/.dockerignore
xfy ae84c37f21
Some checks failed
CI / build (push) Has been cancelled
CI / check (push) Has been cancelled
build: add Dockerfile and .dockerignore for static musl image
- Multi-stage build using rust:1.96-bookworm builder and scratch runtime.
- Produces a fully statically linked x86_64-unknown-linux-musl server binary.
- Builds frontend assets (Tiptap, Tailwind, Dioxus WASM) and bundles public/.
- Image size ~25 MB; server listens on 0.0.0.0:3000.
2026-06-17 09:48:12 +08:00

20 lines
374 B
Plaintext

target/
.git/
dist/
.dioxus/
node_modules/
libs/tiptap-editor/node_modules/
# Generated assets are rebuilt inside the container.
public/style.css
public/highlight.css
public/tiptap/
# Uploads directory is created at runtime; only keep the gitkeep marker.
uploads/*
!uploads/.gitkeep
# Docker files themselves are not needed in the build context.
Dockerfile
.dockerignore