|
|
|
|
@ -30,7 +30,7 @@ RUN git clone --quiet --branch $tag --depth 1 https://github.com/ONLYOFFICE/serv
|
|
|
|
|
## Build
|
|
|
|
|
FROM clone-stage as build-stage
|
|
|
|
|
|
|
|
|
|
COPY server.patch /build/server.patch
|
|
|
|
|
COPY config/server.patch /build/server.patch
|
|
|
|
|
RUN cd /build/server && \
|
|
|
|
|
git apply --ignore-space-change --ignore-whitespace /build/server.patch
|
|
|
|
|
|
|
|
|
|
@ -54,6 +54,5 @@ RUN apt-get update && \
|
|
|
|
|
apt-get install -y python3-dev python3-pip && \
|
|
|
|
|
pip install PyCryptodome
|
|
|
|
|
|
|
|
|
|
WORKDIR /license
|
|
|
|
|
COPY license.py /license/license.py
|
|
|
|
|
COPY license.sh /license/license.sh
|
|
|
|
|
COPY config/license.py /license/license.py
|
|
|
|
|
COPY config/license.sh /license/license.sh
|
|
|
|
|
|