summaryrefslogtreecommitdiff
path: root/etherpad.Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'etherpad.Dockerfile')
-rw-r--r--etherpad.Dockerfile11
1 files changed, 11 insertions, 0 deletions
diff --git a/etherpad.Dockerfile b/etherpad.Dockerfile
new file mode 100644
index 0000000..fd76a88
--- /dev/null
+++ b/etherpad.Dockerfile
@@ -0,0 +1,11 @@
+ARG ALPINE_VERSION=3.23
+FROM docker.io/alpine:${ALPINE_VERSION}
+RUN mkdir -p /var/app
+WORKDIR /var/app
+ARG ETHERPAD_VERSION
+RUN apk --no-cache add pnpm \
+ && ENV=~/.profile SHELL=sh pnpm setup \
+ && source ~/.profile \
+ && pnpm install --global tsx
+COPY etherpad/etherpad-${ETHERPAD_VERSION} .
+CMD pnpx tsx src/node/server.ts