2016-08-09 01:08:26 +00:00
|
|
|
#!/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/
|
2016-08-12 02:06:57 +00:00
|
|
|
chown -R 1000:nogroup /app/var
|
2016-08-09 01:08:26 +00:00
|
|
|
chmod -R g+w /app
|
|
|
|
fi
|