From d427444764b7dc270bb27bb36937777636aba82b Mon Sep 17 00:00:00 2001 From: Dan Date: Tue, 5 Dec 2023 17:45:04 +0200 Subject: [PATCH] Moving from CMD to ENTRYPOINT --- docker/Dockerfile.dev | 2 +- docker/Dockerfile.prod | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docker/Dockerfile.dev b/docker/Dockerfile.dev index a8108a02d..5e0571806 100644 --- a/docker/Dockerfile.dev +++ b/docker/Dockerfile.dev @@ -7,4 +7,4 @@ EXPOSE 80 # Set the default workdir WORKDIR /var/www/html -CMD ["apache2-foreground"] +ENTRYPOINT ["apache2-foreground"] diff --git a/docker/Dockerfile.prod b/docker/Dockerfile.prod index ad2daf898..d542d72f4 100644 --- a/docker/Dockerfile.prod +++ b/docker/Dockerfile.prod @@ -16,4 +16,4 @@ RUN rm -rf /var/www/html/var/cache/prod && chown -R www-data /var/www/html/var # Set the default workdir WORKDIR /var/www/html EXPOSE 80 -CMD ["apache2-foreground"] +ENTRYPOINT ["apache2-foreground"]