title: Docker | Build getting exiting on Interactive Shell
body: <p>I am trying to run a version of <code>Swoole</code> with <code>php7.3-alpine</code> image.</p>
  
  <p>When running, everything builds correctly and all of the extensions get installed correctly. However, when it comes to doing <code>docker-compose up</code> I get stuck in <code>Interactive shell</code> and then exits with code 0 so the container doesn't actually boot up correctly.</p>
  
  <p>Is there anything I can do to stop this issue and stop it from running the interactive shell?</p>
  
  <pre><code>FROM composer:latest as builder
  
  WORKDIR /app
  
  RUN composer global require hirak/prestissimo
  
  COPY . /app/
  
  RUN composer install \
          --no-ansi \
          --no-dev \
          --no-interaction \
          --no-progress \
          --optimize-autoloader \
          --ignore-platform-reqs
  
  RUN rm -rf docker/ composer.json composer.lock &amp;&amp; \
      touch /app/storage/logs/lumen.log
  
  FROM php:7.3-alpine
  
  ENV PHP_OPCACHE_VALIDATE_TIMESTAMPS=0 \
      PHP_OPCACHE_MAX_ACCELERATED_FILES=7963 \
      PHP_OPCACHE_MEMORY_CONSUMPTION=192
  
  RUN set -ex \
      &amp;&amp; apk update \
      &amp;&amp; apk add --no-cache libffi-dev icu libsodium \
      &amp;&amp; apk add --no-cache --virtual build-dependencies icu-dev g++ make autoconf libsodium-dev \
      &amp;&amp; docker-php-source extract \
      &amp;&amp; pecl install swoole redis sodium \
      &amp;&amp; docker-php-ext-enable redis swoole sodium \
      &amp;&amp; docker-php-source delete \
      &amp;&amp; docker-php-ext-install -j$(nproc) pdo_mysql intl \
      &amp;&amp; cd  / &amp;&amp; rm -fr /src \
      &amp;&amp; apk del build-dependencies \
      &amp;&amp; rm -rf /tmp/*
  
  COPY --from=builder --chown=www-data:www-data /app /var/www
  
  COPY docker/php.ini /usr/local/etc/php/php.ini
  
  USER www-data
  
  WORKDIR /var/www
  
  EXPOSE 1215
  </code></pre>
  
  <p>docker-compose.yml</p>
  
  <pre><code>  web:
      build:
        context: .
        dockerfile: docker/Dockerfile
      ports:
        - "80:1215"
      env_file:
        - .env
  </code></pre>
  
  <p>output</p>
  
  <pre><code>web_1       | Interactive shell
  web_1       |
  web_1 exited with code 0
  </code></pre>