We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 145d1f8 commit 6b42febCopy full SHA for 6b42feb
docker/iva-app/Dockerfile
@@ -23,3 +23,4 @@ COPY ./build/ /usr/local/apache2/htdocs/iva/
23
EXPOSE 80
24
25
CMD ["httpd-foreground"]
26
+ENTRYPOINT ["entrypoint.sh"]
docker/iva-app/entrypoint.sh
@@ -4,3 +4,18 @@ echo "total args:" $#
4
echo "first:" $1
5
echo "second:" $2
6
#sed -i 's/host:".*"/host: "val" /g' /usr/local/apache2/htdocs/iva/conf/conf.js
7
+
8
9
+while [[ $# -gt 0 ]] ;do
10
+ case $1 in
11
+ --host=*)
12
+ echo host ${1##--host=}
13
+ echo "opencga.host = ${1##--host=};" >> /usr/local/apache2/htdocs/iva/conf/conf.js
14
+ # exit
15
+ ;;
16
+ esac
17
+ shift
18
+done
19
20
+echo CMD"$@"
21
+exec "$@"
0 commit comments