docker-images/pluie/alpine-symfony-php7/pre-init.d/10-symfony.sh
2017-03-15 04:35:10 +01:00

14 lines
321 B
Bash
Executable File

#!/bin/bash
# @app pluie/alpine-symfony
# @author a-Sansara https://git.pluie.org/pluie/docker-images
if [ -z "$CREATE_WWW_DIR" ]; then
cd /tmp
mkdir $WWW_DIR
symfony new app $SYMFONY_VERSION
mv app/* /app/
chown -R 1000:apache /app/
chown -R 1000:apache /app/var
chmod -R g+w /app
fi