Skip to content

Commit b19dec5

Browse files
authored
chore: fix warnings from docker build step (#1172)
There are warnings in the docker build step. These are also shown in the PR review UI. Resolving them means that we will have less noise to read when reviewing PRs and it means we're better following docker best practices. Bug: T429818
1 parent 1514b2b commit b19dec5

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM composer:2.10 as composer
1+
FROM composer:2.10 AS composer
22

33
COPY ./composer.json /tmp/src1/composer.json
44
COPY ./composer.lock /tmp/src1/composer.lock
@@ -32,7 +32,7 @@ RUN apt-get update \
3232
&& docker-php-ext-enable opencensus \
3333
&& rm -rf /var/lib/apt/lists/*
3434

35-
ENV APACHE_DOCUMENT_ROOT /var/www/html/public
35+
ENV APACHE_DOCUMENT_ROOT=/var/www/html/public
3636

3737
# Change the document root
3838
RUN sed -ri -e 's!/var/www/html!${APACHE_DOCUMENT_ROOT}!g' /etc/apache2/sites-available/*.conf \

0 commit comments

Comments
 (0)