diff options
| author | shu <nvcsadjkojf@outlook.com> | 2026-07-27 00:22:33 +0800 |
|---|---|---|
| committer | shu <nvcsadjkojf@outlook.com> | 2026-07-27 00:22:33 +0800 |
| commit | aaa0cf501ce44a7c7c54c7c5c6485cfb7f60e583 (patch) | |
| tree | da94ef66e9830d09961e577f87d36e63a6076ce5 /docker/tiddlywiki | |
| parent | 338cc101f127e4841689c1f81227ee033e57ad28 (diff) | |
Add Docker Compose deployment
Diffstat (limited to 'docker/tiddlywiki')
| -rw-r--r-- | docker/tiddlywiki/Dockerfile | 13 |
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"] |
