Skip to content

Commit

Permalink
Add supervisor start script back
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelfolaron committed Aug 24, 2024
1 parent 857f7a0 commit 738f8a2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ ARG LEAN_VERSION=3.2.0

WORKDIR /var/www/html

# Expose port 80 and start php-fpm server
ENTRYPOINT ["/start.sh"]
EXPOSE 80

########################
Expand Down Expand Up @@ -71,3 +71,5 @@ RUN sed -i '/LoadModule rewrite_module/s/^#//g' /etc/apache2/httpd.conf && \
sed -i 's#AllowOverride [Nn]one#AllowOverride All#' /etc/apache2/httpd.conf && \
sed -i '$iLoadModule proxy_module modules/mod_proxy.so' /etc/apache2/httpd.conf



3 changes: 3 additions & 0 deletions start.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/sh

/usr/bin/supervisord -c /etc/supervisor/conf.d/supervisord.conf

0 comments on commit 738f8a2

Please sign in to comment.