Replaced ADD with COPY in Dockerfile

COPY is more safe than ADD
This commit is contained in:
Houssem Dellai
2020-07-22 15:34:00 +02:00
committed by GitHub
parent 44db0787a9
commit c84caa795a
@@ -47,7 +47,7 @@ The Dockerfile has the following content:
```
FROM php:5-apache
ADD index.php /var/www/html/index.php
COPY index.php /var/www/html/index.php
RUN chmod a+rx index.php
```