Skip to content

Commit c950512

Browse files
Adjusted removal of index.html
1 parent 3a45938 commit c950512

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

entrypoint.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
#!/bin/ash
22

33
sed -i "s/^Listen.*/Listen $ITFLOW_PORT/g" /etc/apache2/httpd.conf
4+
rm -rf /var/www/localhost/htdocs/index.html
45
# if itflow is not downloaded, perform the download after the volume mounting process within dockerfile is complete.
56
if [[ -f /var/www/localhost/htdocs/index.php ]]; then
67
cd /var/www/localhost/htdocs
@@ -9,7 +10,6 @@ else
910
git clone --branch $ITFLOW_REPO_BRANCH https://$ITFLOW_REPO /var/www/localhost/htdocs
1011
fi
1112

12-
rm -rf /var/www/localhost/htdocs/index.html
1313
git config --global --add safe.directory /var/www/localhost/htdocs
1414

1515
# Verify permissions of itflow git repository

0 commit comments

Comments
 (0)