We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3a45938 commit c950512Copy full SHA for c950512
entrypoint.sh
@@ -1,6 +1,7 @@
1
#!/bin/ash
2
3
sed -i "s/^Listen.*/Listen $ITFLOW_PORT/g" /etc/apache2/httpd.conf
4
+rm -rf /var/www/localhost/htdocs/index.html
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
@@ -9,7 +10,6 @@ else
9
10
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