Skip to content

Run Apache2 in background #215

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 8 commits into
base: v3
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update Dockerfile.slim.blueprint
  • Loading branch information
mariopenterman authored Oct 26, 2020
commit 046c8addfee28b1716b70008a01085475b5a779f
4 changes: 2 additions & 2 deletions utils/Dockerfile.slim.blueprint
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ ENV PHP_EXTRA_CONFIGURE_ARGS --with-apxs2 --disable-cgi
# https://httpd.apache.org/docs/2.4/stopping.html#gracefulstop
STOPSIGNAL SIGWINCH

COPY utils/apache2-foreground /usr/local/bin/
COPY utils/apache2-background /usr/local/bin/

EXPOSE 80

Expand Down Expand Up @@ -329,7 +329,7 @@ ENTRYPOINT ["/usr/local/bin/docker-entrypoint.sh"]
RUN echo "ServerName localhost" > /etc/apache2/conf-available/servername.conf
RUN a2enconf servername

CMD ["apache2-foreground"]
CMD ["apache2-background"]

# |--------------------------------------------------------------------------
# | Entrypoint
Expand Down