aboutsummaryrefslogtreecommitdiffstats
path: root/docker/tiddlywiki/Dockerfile
diff options
context:
space:
mode:
authorshu <nvcsadjkojf@outlook.com>2026-07-27 00:22:33 +0800
committershu <nvcsadjkojf@outlook.com>2026-07-27 00:22:33 +0800
commitaaa0cf501ce44a7c7c54c7c5c6485cfb7f60e583 (patch)
treeda94ef66e9830d09961e577f87d36e63a6076ce5 /docker/tiddlywiki/Dockerfile
parent338cc101f127e4841689c1f81227ee033e57ad28 (diff)
Add Docker Compose deployment
Diffstat (limited to 'docker/tiddlywiki/Dockerfile')
-rw-r--r--docker/tiddlywiki/Dockerfile13
1 files changed, 13 insertions, 0 deletions
diff --git a/docker/tiddlywiki/Dockerfile b/docker/tiddlywiki/Dockerfile
new file mode 100644
index 0000000..cfee4aa
--- /dev/null
+++ b/docker/tiddlywiki/Dockerfile
@@ -0,0 +1,13 @@
+FROM node:22-alpine
+
+ARG TIDDLYWIKI_VERSION=5.4.1
+
+RUN npm install --global "tiddlywiki@${TIDDLYWIKI_VERSION}" \
+ && npm cache clean --force
+
+WORKDIR /wiki
+USER node
+
+EXPOSE 8080
+
+ENTRYPOINT ["tiddlywiki"]