Skip to content

Commit

Permalink
Moving from CMD to ENTRYPOINT
Browse files Browse the repository at this point in the history
  • Loading branch information
danakim committed Dec 5, 2023
1 parent 399245b commit 580f29e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docker/Dockerfile.dev
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ EXPOSE 80
# Set the default workdir
WORKDIR /var/www/html

CMD ["apache2-foreground"]
ENTRYPOINT ["apache2-foreground"]
2 changes: 1 addition & 1 deletion docker/Dockerfile.prod
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,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

CMD ["apache2-foreground"]
ENTRYPOINT ["apache2-foreground"]

0 comments on commit 580f29e

Please sign in to comment.