forked from leftypol/leftypol
docker: remove special handling of instance-config.php from build
This commit is contained in:
parent
28c8ff15c1
commit
2509be645d
1 changed files with 2 additions and 4 deletions
|
@ -71,16 +71,14 @@ RUN rmdir /var/www/html \
|
||||||
&& install -d -m 700 -o www-data -g www-data /var/cache/gen-cache \
|
&& install -d -m 700 -o www-data -g www-data /var/cache/gen-cache \
|
||||||
&& install -d -m 700 -o www-data -g www-data /var/cache/template-cache
|
&& install -d -m 700 -o www-data -g www-data /var/cache/template-cache
|
||||||
|
|
||||||
COPY --from=composer /usr/bin/composer /usr/local/bin/composer
|
|
||||||
|
|
||||||
# Copy the bootstrap script.
|
# Copy the bootstrap script.
|
||||||
COPY ./docker/php/bootstrap.sh /usr/local/bin/bootstrap.sh
|
COPY ./docker/php/bootstrap.sh /usr/local/bin/bootstrap.sh
|
||||||
|
|
||||||
|
COPY --from=composer /usr/bin/composer /usr/local/bin/composer
|
||||||
|
|
||||||
# Copy the actual project (use .dockerignore to exclude stuff).
|
# Copy the actual project (use .dockerignore to exclude stuff).
|
||||||
COPY . /code
|
COPY . /code
|
||||||
|
|
||||||
# Make the instance configuration owned by www-data.
|
|
||||||
# Make it writable by php.
|
|
||||||
# Install the compose depedencies.
|
# Install the compose depedencies.
|
||||||
RUN cd /code && composer install
|
RUN cd /code && composer install
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue