diff --git a/api-rest/Dockerfile b/api-rest/Dockerfile index 945ef41..d2b1a19 100644 --- a/api-rest/Dockerfile +++ b/api-rest/Dockerfile @@ -1,7 +1,7 @@ FROM php:8.0-apache COPY api-rest/start-apache /usr/local/bin -RUN chmod 755 api-rest/start-apache +CMD [ "chmod", "755", "api-rest/start-apache"] # Copy application source COPY api-rest/* /var/www/html