mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-12-25 16:13:17 +03:00
Add XDebug support for CLI commands
This commit is contained in:
parent
fbce1c8197
commit
81e8b8824e
1 changed files with 5 additions and 2 deletions
|
@ -16,9 +16,12 @@ RUN apt-get update \
|
|||
&& npm install -g npm \
|
||||
&& apt-get install -q -y ssmtp mailutils \
|
||||
&& echo "hostname=localhost.localdomain" > /etc/ssmtp/ssmtp.conf \
|
||||
&& echo "root=root@presta.com" >> /etc/ssmtp/ssmtp.conf \
|
||||
&& echo "mailhub=mailhog:1025" >> /etc/ssmtp/ssmtp.conf \
|
||||
&& echo "root=root@example.org" >> /etc/ssmtp/ssmtp.conf \
|
||||
&& echo "mailhub=mailpit:1025" >> /etc/ssmtp/ssmtp.conf \
|
||||
&& echo "sendmail_path=/usr/sbin/ssmtp -t" >> /usr/local/etc/php/conf.d/php-sendmail.ini \
|
||||
&& echo "alias ll=\"ls -al\"" >> /root/.bashrc \
|
||||
&& echo "export XDEBUG_TRIGGER=1" >> /root/.bashrc \
|
||||
&& echo "export PHP_IDE_CONFIG=\"serverName=host.docker.internal\"" >> /root/.bashrc \
|
||||
&& apt-get -y autoremove \
|
||||
&& apt-get clean \
|
||||
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
|
||||
|
|
Loading…
Reference in a new issue