Install in /app now, not /var/www/html

This commit is contained in:
2025-02-12 13:02:13 +11:00
parent bb9374ec01
commit 8170e81d13
2 changed files with 2 additions and 3 deletions

View File

@@ -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 \