From b224feee0e11a84274cba2abcd741e726c729914 Mon Sep 17 00:00:00 2001 From: oppiliappan Date: Wed, 22 Jul 2026 13:46:25 +0000 Subject: [PATCH] localinfra: fix tailwind setup Signed-off-by: oppiliappan --- appview/state/state.go | 2 +- docker-compose.yml | 6 +++--- localinfra/tailwind.Dockerfile | 12 ++++++++++++ 3 file(s) changed, 16 insertion(s)(+), 4 deletion(s)(-) diff --git a/appview/state/state.go b/appview/state/state.go --- a/appview/state/state.go +++ b/appview/state/state.go @@ -27,9 +27,9 @@ "tangled.org/core/appview/mentions" "tangled.org/core/appview/models" "tangled.org/core/appview/notify" dbnotify "tangled.org/core/appview/notify/db" + emaildispatch "tangled.org/core/appview/notify/email" lognotify "tangled.org/core/appview/notify/logging" phnotify "tangled.org/core/appview/notify/posthog" - emaildispatch "tangled.org/core/appview/notify/email" whnotify "tangled.org/core/appview/notify/webhook" "tangled.org/core/appview/oauth" "tangled.org/core/appview/pages" diff --git a/docker-compose.yml b/docker-compose.yml --- a/docker-compose.yml +++ b/docker-compose.yml @@ -308,12 +308,12 @@ command: ["zoekt-tngl-indexserver", "serve"] networks: [tngl] tailwind: - image: d3fk/tailwindcss:v3 + build: + context: . + dockerfile: localinfra/tailwind.Dockerfile restart: unless-stopped working_dir: /build init: true - environment: - BROWSERSLIST_IGNORE_OLD_DATA: "true" volumes: - ./tailwind.config.js:/build/tailwind.config.js:ro - ./input.css:/build/input.css:ro diff --git a/localinfra/tailwind.Dockerfile b/localinfra/tailwind.Dockerfile new file mode 100644 --- /dev/null +++ b/localinfra/tailwind.Dockerfile @@ -0,0 +1,12 @@ +FROM node:22-alpine + +WORKDIR /build + +RUN npm install --no-save \ + tailwindcss@3.4.17 \ + @tailwindcss/typography@0.5.16 \ + tailwindcss-animated@1.1.2 + +ENV BROWSERSLIST_IGNORE_OLD_DATA=true + +ENTRYPOINT ["node_modules/.bin/tailwindcss"] -- tangled.sh