• File: Dockerfile
  • Full Path: /var/www/laradock/laradock/beanstalkd-console/Dockerfile
  • Date Modified: 01/12/2022 3:50 PM
  • File size: 540 bytes
  • MIME-type: text/plain
  • Charset: utf-8
FROM php:latest

LABEL maintainer="Mahmoud Zalt <mahmoud@zalt.me>"

RUN apt-get update && apt-get install -y curl

RUN curl -sL https://github.com/ptrofimov/beanstalk_console/archive/master.tar.gz | tar xvz -C /tmp
RUN mv /tmp/beanstalk_console-master /source

RUN apt-get remove --purge -y curl && \
    apt-get autoclean && \
    apt-get clean && \
    rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*

EXPOSE 2080

CMD bash -c 'BEANSTALK_SERVERS=$BEANSTALKD_PORT_11300_TCP_ADDR:11300 php -S 0.0.0.0:2080 -t /source/public'