diff --git a/Dockerfile b/Dockerfile index 1e2bb7b..915cdc1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -46,6 +46,12 @@ COPY --from=composer:2 /usr/bin/composer /usr/bin/composer ENV COMPOSER_ALLOW_SUPERUSER=1 ENV COMPOSER_MEMORY_LIMIT=-1 +# shell bash preference +RUN sed -i " \ + s|root:x:0:0:root:/root:/bin/ash|root:x:0:0:root:/root:/bin/bash|g; \ + s|postgres:x:70:70:PostgreSQL user:/var/lib/postgresql:/bin/sh|postgres:x:70:70:PostgreSQL user:/var/lib/postgresql:/bin/bash|g" \ + /etc/passwd + WORKDIR /var/www/app CMD ["php-fpm"]