0bef0067
- commit
- 0bef0067543bd14b3cb25006038090660025dd28
- parent
- author
- Christopher K. Schmitt <me@shmish.dev>
- date
- 2026-08-11
- committer
- Christopher K. Schmitt <me@shmish.dev>
- date
- 2026-08-11
- changes
- 3
- insertions
- 20
- deletions
- 1
MCargo.toml
~description = "Minimalist git web browser with commit graph, blame, and syntax highlighting"~keywords = ["git", "web", "browser", "repository", "axum"]~categories = ["web-programming::http-server", "development-tools::version-control"]-rust-version = "1.85"+rust-version = "1.88"~~[lib]~name = "teak"
A.dockerignore
+target/+.git/+media/
AContainerfile
+FROM rust:1.88-alpine AS build+RUN apk add --no-cache musl-dev+WORKDIR /app+COPY . .+RUN cargo build --release --locked++FROM alpine:3.20+RUN apk add --no-cache git xz \+ && git config --system --add safe.directory '*'+RUN addgroup -S -g 10001 teak && adduser -S -u 10001 -G teak teak+COPY --from=build /app/target/release/teak /usr/local/bin/teak+USER teak+VOLUME ["/srv/git"]+EXPOSE 3000+ENTRYPOINT ["teak"]+CMD ["--root", "/srv/git"]