Browse Source

new cmd

pull/4/head
Johannes Schickling 9 years ago
parent
commit
36f3c5f50f
  1. 2
      beanstalkd-console/Dockerfile
  2. 4
      beanstalkd-console/install.sh

2
beanstalkd-console/Dockerfile

@ -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

4
beanstalkd-console/install.sh

@ -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

Loading…
Cancel
Save