mirror of
https://github.com/hoellen/dockerfiles.git
synced 2025-07-02 23:25:41 +00:00
UNMAINTAINED
This commit is contained in:
31
unmaintained/cryptpad/Dockerfile
Normal file
31
unmaintained/cryptpad/Dockerfile
Normal file
@ -0,0 +1,31 @@
|
||||
FROM alpine:3.6
|
||||
|
||||
ARG VERSION=1.20.0
|
||||
|
||||
ENV UID=991 GID=991
|
||||
|
||||
WORKDIR /cryptpad
|
||||
|
||||
RUN apk -U add --no-cache \
|
||||
git \
|
||||
tini \
|
||||
su-exec \
|
||||
ca-certificates \
|
||||
libressl \
|
||||
tar \
|
||||
nodejs-current \
|
||||
nodejs-current-npm \
|
||||
&& wget -qO- https://github.com/xwiki-labs/cryptpad/archive/${VERSION}.tar.gz | tar xz --strip 1 \
|
||||
&& npm install \
|
||||
&& npm install -g bower \
|
||||
&& bower install --allow-root
|
||||
|
||||
COPY run.sh /usr/local/bin/run.sh
|
||||
|
||||
RUN chmod +x /usr/local/bin/run.sh
|
||||
|
||||
EXPOSE 3000
|
||||
|
||||
VOLUME /cryptpad/datastore /cryptpad/customize
|
||||
|
||||
CMD ["run.sh"]
|
Reference in New Issue
Block a user