Enhancements for containers with applications

This commit is contained in:
Deon George
2020-01-24 23:09:56 +11:00
parent cb2da835a3
commit 3bddae369e
2 changed files with 22 additions and 16 deletions

View File

@@ -35,6 +35,6 @@ RUN apt-get update && apt-get install -y openssh-server libpq5 libpq-dev unzip g
RUN pecl install -o -f igbinary && pecl install -o -f redis && docker-php-ext-enable redis igbinary && rm -rf /tmp/*
COPY init /sbin/
RUN chmod 550 /sbin/init && chown 0:33 /sbin/init
RUN chmod 550 /sbin/init && chown 0:0 /sbin/init
ENTRYPOINT [ "/sbin/init" ]
CMD [ "php-fpm" ]