Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 1 addition & 5 deletions .github/workflows/docs-site.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
name: Docs site

# docs/** is deliberately broad — it also covers docs/releases/* changes so
# the site rebuilds when release notes change once docs-site/ exists. That
# means this can trigger before docs-site/ is bootstrapped, so the job
# itself is guarded below (docs-site/package.json must exist) — see
# docs/docs-site.md.
# the site rebuilds when release notes change. See docs/docs-site.md.
on:
push:
branches: [main]
Expand All @@ -18,7 +15,6 @@ permissions:
jobs:
build-deploy:
name: Build & deploy docs
if: ${{ hashFiles('docs-site/package.json') != '' }}
runs-on: ubuntu-latest
defaults:
run:
Expand Down
6 changes: 5 additions & 1 deletion spoolbook-rs/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,11 @@ COPY spoolbook-rs/ ./
RUN cargo build --release

FROM debian:trixie-slim
RUN apt-get update && apt-get install -y --no-install-recommends ca-certificates libcurl4t64 && rm -rf /var/lib/apt/lists/*
# ffmpeg: printer_camera.rs shells out to it for the live-camera MJPEG relay -- without it the
# camera feed fails with a generic "Camera stream failed" on every Docker install (works in dev
# only because macOS has ffmpeg on PATH). Pulls ~150MB of libav* deps; a static ffmpeg build
# would shrink that if image size ever matters.
RUN apt-get update && apt-get install -y --no-install-recommends ca-certificates libcurl4t64 ffmpeg && rm -rf /var/lib/apt/lists/*
WORKDIR /app
COPY --from=backend-build /src/target/release/spoolbook-rs .
COPY --from=frontend-build /src/spoolbook-web-svelte/build ./svelte-build
Expand Down