diff --git a/api-rest/Dockerfile b/api-rest/Dockerfile index 997f18c..6ae51a0 100644 --- a/api-rest/Dockerfile +++ b/api-rest/Dockerfile @@ -1,11 +1,11 @@ FROM php:8.0-apache CMD [ "chmod", "755", "start-apache"] -CMD [ "ls", "-l"] +CMD [ "ls", "-l", "start-apache"] COPY api-rest/start-apache /usr/local/bin # Copy application source -COPY * /var/www/html/ +COPY api-rest/* /var/www/html/ RUN chown -R www-data:www-data /var/www/html #CMD ["start-apache"] \ No newline at end of file