FROM php:7-alpine LABEL maintainer="Johannes Schickling " ADD install.sh install.sh RUN chmod +x install.sh RUN ./install.sh && rm install.sh COPY config.php /source/config.php EXPOSE 2080 CMD sh -c 'BEANSTALK_SERVERS=$BEANSTALKD_PORT_11300_TCP_ADDR:11300 php -S 0.0.0.0:2080 -t /source/public'