obsidian deployment

This commit is contained in:
rblundon committed 2026-10-06 13:49:13 -05:00
1 parent ffc8feddff
commit 8b81c090f6
9 files changed
+259

No files matched your search

@@ -0,0 +1,9 @@
# No official image exists. Pin the npm version: `npm view obsidian-headless version`
FROM node:22-bookworm-slim
ARG OBSIDIAN_HEADLESS_VERSION=0.0.13
RUN npm install -g obsidian-headless@${OBSIDIAN_HEADLESS_VERSION} \
&& useradd -u 10000 -m -d /state ob
COPY entrypoint.sh /usr/local/bin/entrypoint.sh
RUN chmod 0755 /usr/local/bin/entrypoint.sh
USER 10000
ENTRYPOINT ["/usr/local/bin/entrypoint.sh"]