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
|
COPY docker/init-docker /sbin/init-docker
|
||||||
RUN chmod 550 /sbin/init-docker && chown ${SITE_USER}:0 /sbin/init-docker
|
RUN chmod 550 /sbin/init-docker && chown ${SITE_USER}:0 /sbin/init-docker
|
||||||
|
|
||||||
COPY . /var/www/html/
|
COPY . /app
|
||||||
WORKDIR /var/www/html
|
|
||||||
|
|
||||||
RUN mkdir -p ${COMPOSER_HOME} \
|
RUN mkdir -p ${COMPOSER_HOME} \
|
||||||
&& ([ -r auth.json ] && mv auth.json ${COMPOSER_HOME}) || true \
|
&& ([ -r auth.json ] && mv auth.json ${COMPOSER_HOME}) || true \
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
set -e
|
set -e
|
||||||
role=${CONTAINER_ROLE:-app}
|
role=${CONTAINER_ROLE:-app}
|
||||||
env=${APP_ENV:-production}
|
env=${APP_ENV:-production}
|
||||||
php=${PHP_DIR:-/var/www/html}
|
php=${PHP_DIR:-/app}
|
||||||
composer=${COMPOSER_HOME:-/var/cache/composer}
|
composer=${COMPOSER_HOME:-/var/cache/composer}
|
||||||
|
|
||||||
RUN_USER=$(id -u -n)
|
RUN_USER=$(id -u -n)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user