forked from ONLYOFFICE/Docker-DocumentServer
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Dockerfile1
24 lines (18 loc) · 1.41 KB
/
Dockerfile1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
FROM hub.mingdao.com/md/documentserverbase:20191213_1748
ENV LANG=en_US.UTF-8 LANGUAGE=en_US:en LC_ALL=en_US.UTF-8 DEBIAN_FRONTEND=noninteractive
ARG ONLYOFFICE_VALUE=onlyoffice
COPY documentserver/server/DocService/sources /var/www/onlyoffice/documentserver/server/DocService/sources/
COPY documentserver/server/Common/sources /var/www/onlyoffice/documentserver/server/Common/sources/
COPY documentserver/web-apps/apps/api/documents /var/www/onlyoffice/documentserver/web-apps/apps/api/documents/
COPY documentserver/web-apps/apps/vendor/jquery /var/www/onlyoffice/documentserver/web-apps/vendor/jquery.browser/dist/
COPY documentserver/web-apps/apps/documenteditor/main/resources/css /var/www/onlyoffice/documentserver/web-apps/apps/documenteditor/main/resources/css/
COPY documentserver/web-apps/apps/documenteditor/embed/resources/css /var/www/onlyoffice/documentserver/web-apps/apps/documenteditor/embed/resources/css/
COPY documentserver/server/DocService/node_modules/sockjs/lib /var/www/onlyoffice/documentserver/server/DocService/node_modules/sockjs/lib/
COPY config /app/ds/setup/config/
COPY run-document-server.sh /app/ds/run-document-server.sh
EXPOSE 8000
ARG COMPANY_NAME=onlyoffice
ARG PRODUCT_NAME=documentserver
ENV COMPANY_NAME=$COMPANY_NAME
VOLUME /var/log/$COMPANY_NAME /var/lib/$COMPANY_NAME /var/www/$COMPANY_NAME/Data /var/lib/postgresql /usr/share/fonts/truetype/custom
ENTRYPOINT /app/ds/run-document-server.sh