Add Dockerfile for Alibaba Cloud

This commit is contained in:
Alexey Golubev 2021-08-25 14:52:27 +03:00 committed by GitHub
parent 0f9d5f1dab
commit 38899cbce3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 0 deletions

8
Dockerfile.alc Normal file
View File

@ -0,0 +1,8 @@
FROM onlyoffice4ami/communityserver:latest
ARG APPSETTING_CONFIG=/var/www/onlyoffice/WebStudio/web.appsettings.config
RUN xmlstarlet ed -L \
-s "/appSettings" -t elem -n "add" \
-i "/appSettings/add[not(@*)]" -t attr -n "key" -v "web.ami.meta" \
-i "/appSettings/add[@key='web.ami.meta']" -t attr -n "value" -v "http://100.100.100.200/latest/meta-data/" \
$APPSETTING_CONFIG