2017-01-30 01:58:46 +00:00
|
|
|
#!/bin/bash
|
|
|
|
# @app pluie/alpine-symfony
|
|
|
|
# @author a-Sansara https://git.pluie.org/pluie/docker-images
|
|
|
|
|
2017-03-15 03:35:10 +00:00
|
|
|
if [ -z "$CREATE_WWW_DIR" ]; then
|
2017-01-30 01:58:46 +00:00
|
|
|
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
|