prevent init script from breaking the image
All checks were successful
Build and publish the docker image / build (push) Successful in 29s
All checks were successful
Build and publish the docker image / build (push) Successful in 29s
Signed-off-by: ngn <ngn@ngn.tf>
This commit is contained in:
parent
25642917e0
commit
52145d2fc3
@ -1,8 +1,10 @@
|
||||
#!/bin/sh
|
||||
set -e
|
||||
|
||||
php ./gen_config.php
|
||||
rm ./gen_config.php
|
||||
if [ ! -f '/var/www/html/4get/data/config.php' ] && [ -f './gen_config.php' ]; then
|
||||
php ./gen_config.php
|
||||
rm -f ./gen_config.php
|
||||
fi
|
||||
|
||||
echo "Starting up apache2"
|
||||
exec httpd -DFOREGROUND
|
||||
|
Loading…
x
Reference in New Issue
Block a user