mirror of
https://github.com/opdavies/build-configs.git
synced 2025-03-13 05:26:56 +00:00
feat: add extra_files
Copy extra files into the image.
This commit is contained in:
parent
d66f34480a
commit
34810088c3
|
@ -34,6 +34,9 @@ RUN apt-get update -yqq \
|
|||
RUN docker-php-ext-install {{ dockerfile.stages.build.extensions.install | join(' ') }}
|
||||
{% endif %}
|
||||
|
||||
{% if dockerfile.stages.build.extra_files %}
|
||||
COPY --chown=app:app {{ dockerfile.stages.build.extra_files | join(" ") }} ./
|
||||
{% endif %}
|
||||
{% for directory in dockerfile.stages.build.extra_directories %}
|
||||
COPY --chown=app:app {{ directory }} {{ directory }}
|
||||
{% endfor %}
|
||||
|
|
Loading…
Reference in a new issue