We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ebf9823 commit 3a45938Copy full SHA for 3a45938
entrypoint.sh
@@ -1,7 +1,6 @@
1
#!/bin/ash
2
3
sed -i "s/^Listen.*/Listen $ITFLOW_PORT/g" /etc/apache2/httpd.conf
4
-
5
# if itflow is not downloaded, perform the download after the volume mounting process within dockerfile is complete.
6
if [[ -f /var/www/localhost/htdocs/index.php ]]; then
7
cd /var/www/localhost/htdocs
@@ -10,6 +9,7 @@ else
10
9
git clone --branch $ITFLOW_REPO_BRANCH https://$ITFLOW_REPO /var/www/localhost/htdocs
11
fi
12
+rm -rf /var/www/localhost/htdocs/index.html
13
git config --global --add safe.directory /var/www/localhost/htdocs
14
15
# Verify permissions of itflow git repository
0 commit comments