Docker Community Forums

Share and learn in the Docker community.

Hey guys need a little help

I have 2 files:

  1. dockerfile :
    FROM php:7.2.2-apache
    COPY ${aaa} /var/www/html

2.test.env:
aaa=‘index.php’

How to build/run the container that he will read the parameter (aaa) from test.env file ???

any help would be appreciated
Thank you