This commit is contained in:
cupcakearmy
2019-05-08 11:53:36 +02:00
parent 0e6ea0c022
commit 29e06f49fe
5 changed files with 237 additions and 0 deletions

19
Dockerfile Normal file
View File

@@ -0,0 +1,19 @@
FROM node:lts-alpine
# master | develop | ...
ARG ETHERPAD_VERSION=master
ARG DIR=/etherpad
ARG TMP=/tmp/etherpad.tar.gz
ENV NODE_ENV=production
WORKDIR ${DIR}
RUN echo "Getting version: ${ETHERPAD_VERSION}" && \
apk add --no-cache git && \
git clone --branch ${ETHERPAD_VERSION} git://github.com/ether/etherpad-lite.git .
ADD start.sh .
CMD ["sh", "start.sh"]