-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker_entrypoint.sh
12 lines (10 loc) · 1.15 KB
/
docker_entrypoint.sh
1
2
3
4
5
6
7
8
9
10
11
12
if [ ! -f .initialized ]; then
echo "Initializing container"
# run initializing commands
touch .initialized
#ativa todos os sites
cd /etc/apache2/sites-available/
a2ensite *
service apache2 reload
fi
exec "$@"