@ -5,4 +5,4 @@ ADD install.sh install.sh
RUN chmod +x install.sh && ./install.sh && rm install.sh
EXPOSE 2080
CMD ["BEANSTALK_SERVERS=$BEANSTALKD_PORT_11300_TCP_ADDR", "php", "-S", "0.0.0.0:2080", "-t", "/source"]
CMD BEANSTALK_SERVERS=$BEANSTALKD_PORT_11300_TCP_ADDR:11300 php -S 0.0.0.0:2080 -t /source/public
@ -7,8 +7,8 @@ set -e
apt-get update && apt-get install -y curl
# download
mkdir /source
curl -sL https://github.com/ptrofimov/beanstalk_console/archive/master.tar.gz | tar xvz -C /source
curl -sL https://github.com/ptrofimov/beanstalk_console/archive/master.tar.gz | tar xvz -C /tmp
mv beanstalk_console-master /source
# cleanup package manager
apt-get remove --purge -y curl && apt-get autoclean && apt-get clean