mirror of
https://github.com/ONLYOFFICE/build_tools.git
synced 2026-02-10 20:45:38 +08:00
14 lines
692 B
Docker
14 lines
692 B
Docker
FROM onlyoffice/documentserver:latest
|
|
RUN apt-get update -y && \
|
|
apt-get install git -y \
|
|
python3 -y \
|
|
openjdk-11-jdk -y \
|
|
npm -y && \
|
|
npm install -g grunt-cli -y && \
|
|
ln -s /usr/bin/python3 /usr/bin/python && \
|
|
ln -s /usr/bin/pip3 /usr/bin/pip && \
|
|
git clone --depth 1 https://github.com/ONLYOFFICE/build_tools.git var/www/onlyoffice/documentserver/build_tools && \
|
|
sed -i '/documentserver-static-gzip.sh ${ONLYOFFICE_DATA_CONTAINER}/d' /app/ds/run-document-server.sh && \
|
|
rm -rf /var/lib/apt/lists/*
|
|
ENTRYPOINT python3 /var/www/onlyoffice/documentserver/build_tools/develop/run_build_js.py /var/www/onlyoffice/documentserver && /bin/sh -c /app/ds/run-document-server.sh
|