diff --git a/Dockerfile b/Dockerfile index 9cfcb15..6dd5416 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 diff --git a/README.md b/README.md index 649b777..0c69861 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,10 @@ [https://github.com/anyidea/onlyoffice-ce-docker-license](https://github.com/anyidea/onlyoffice-ce-docker-license) +#### Запуск: + ``` +git clone https://git.badms.ru/bms/oo-unlim.git +cd oo-unlim docker build -t onlyoffice/documentserver-unlim:7.5.1.1 . ``` diff --git a/files/DocumentServer-7.5.1.zip b/build_files/DocumentServer-7.5.1.zip similarity index 100% rename from files/DocumentServer-7.5.1.zip rename to build_files/DocumentServer-7.5.1.zip diff --git a/files/build_tools-7.5.1.1.zip b/build_files/build_tools-7.5.1.1.zip similarity index 100% rename from files/build_tools-7.5.1.1.zip rename to build_files/build_tools-7.5.1.1.zip diff --git a/files/server-7.5.1.1.zip b/build_files/server-7.5.1.1.zip similarity index 100% rename from files/server-7.5.1.1.zip rename to build_files/server-7.5.1.1.zip diff --git a/license.py b/config/license.py similarity index 100% rename from license.py rename to config/license.py diff --git a/license.sh b/config/license.sh similarity index 100% rename from license.sh rename to config/license.sh diff --git a/server.patch b/config/server.patch similarity index 100% rename from server.patch rename to config/server.patch