Skip to content

Commit

Permalink
Add Dockerfile for Alibaba Cloud
Browse files Browse the repository at this point in the history
  • Loading branch information
agolybev authored Aug 25, 2021
1 parent 0f9d5f1 commit 38899cb
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Dockerfile.alc
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 38899cb

Please sign in to comment.