Install in /app now, not /var/www/html
This commit is contained in:
parent
bb9374ec01
commit
8170e81d13
@ -20,8 +20,7 @@ ENV SITE_USER=www-data
|
||||
COPY docker/init-docker /sbin/init-docker
|
||||
RUN chmod 550 /sbin/init-docker && chown ${SITE_USER}:0 /sbin/init-docker
|
||||
|
||||
COPY . /var/www/html/
|
||||
WORKDIR /var/www/html
|
||||
COPY . /app
|
||||
|
||||
RUN mkdir -p ${COMPOSER_HOME} \
|
||||
&& ([ -r auth.json ] && mv auth.json ${COMPOSER_HOME}) || true \
|
||||
|
@ -3,7 +3,7 @@
|
||||
set -e
|
||||
role=${CONTAINER_ROLE:-app}
|
||||
env=${APP_ENV:-production}
|
||||
php=${PHP_DIR:-/var/www/html}
|
||||
php=${PHP_DIR:-/app}
|
||||
composer=${COMPOSER_HOME:-/var/cache/composer}
|
||||
|
||||
RUN_USER=$(id -u -n)
|
||||
|
Loading…
x
Reference in New Issue
Block a user