21 lines
481 B
Docker
21 lines
481 B
Docker
|
ARG REPO_LOCATION
|
||
|
# ARG BASE_VERSION
|
||
|
|
||
|
FROM ${REPO_LOCATION}minideb-node AS builder
|
||
|
|
||
|
RUN install_packages git
|
||
|
|
||
|
RUN git clone --branch master https://github.com/ether/etherpad-lite.git /srv/etherpad
|
||
|
|
||
|
RUN cd /srv && npm install
|
||
|
|
||
|
###############################################################################
|
||
|
|
||
|
FROM ${REPO_LOCATION}minideb-node
|
||
|
|
||
|
RUN mkdir /srv
|
||
|
COPY --from=builder /srv/etherpad /srv/etherpad
|
||
|
|
||
|
WORKDIR /srv/etherpad
|
||
|
ENTRYPOINT [ "/bin/sh" "/srv/etherpad/bin/run.sh" ]
|