docker-images/pluie/alpine-symfony/pre-init.d/10-symfony.sh
2016-08-09 03:45:54 +02:00

14 lines
286 B
Bash

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