Enhancements for containers with applications
This commit is contained in:
@@ -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" ]
|
||||
|
Reference in New Issue
Block a user