From 13d176fa640eed596d7f09d3d14c47a483d06b48 Mon Sep 17 00:00:00 2001 From: Mehul Anshumali Date: Sun, 11 Jan 2026 19:25:05 +0530 Subject: [PATCH] fix(docker): add python3-tinycss2 for Inkscape DXF export Adds missing python3-tinycss2 dependency required by Inkscape's DXF export extension when converting PNG files to DXF format. The tinycss2 module is imported by inkex which is used by Inkscape's dxf12_outlines.py extension script. Fixes #494 --- .devcontainer/Dockerfile | 1 + Dockerfile | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index 58f889f..0ab7dc0 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -31,6 +31,7 @@ RUN apt-get update && apt-get install -y \ poppler-utils \ potrace \ python3-numpy \ + python3-tinycss2 \ resvg \ texlive \ texlive-fonts-recommended \ diff --git a/Dockerfile b/Dockerfile index c7e4b35..899802f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -108,4 +108,4 @@ EXPOSE 3000/tcp # used for calibre ENV QTWEBENGINE_CHROMIUM_FLAGS="--no-sandbox" ENV NODE_ENV=production -ENTRYPOINT [ "bun", "run", "dist/src/index.js" ] \ No newline at end of file +ENTRYPOINT [ "bun", "run", "dist/src/index.js" ]