mirror of
https://github.com/invoiceninja/dockerfiles.git
synced 2025-12-31 19:47:25 +01:00
Use php.ini-production
This commit is contained in:
5
debian/Dockerfile
vendored
5
debian/Dockerfile
vendored
@@ -66,7 +66,7 @@ RUN mkdir -p /tmp/chrome \
|
||||
chown -R www-data:www-data /tmp/chrome \
|
||||
&& chmod -R 755 /tmp/chrome; \
|
||||
fi
|
||||
|
||||
|
||||
# Copy Install PHP extensions installer
|
||||
COPY --from=mlocati/php-extension-installer /usr/bin/install-php-extensions /usr/local/bin/
|
||||
|
||||
@@ -89,6 +89,7 @@ RUN install-php-extensions \
|
||||
@composer
|
||||
|
||||
# Configure PHP
|
||||
RUN mv "$PHP_INI_DIR/php.ini-production" "$PHP_INI_DIR/php.ini"
|
||||
COPY php/php.ini /usr/local/etc/php/conf.d/app.ini
|
||||
COPY php/php-fpm.conf /usr/local/etc/php-fpm.d/www.conf
|
||||
|
||||
@@ -182,4 +183,4 @@ HEALTHCHECK --interval=30s --timeout=5s --start-period=30s --retries=3 \
|
||||
EXPOSE 9000
|
||||
|
||||
ENTRYPOINT ["/usr/local/bin/init.sh"]
|
||||
CMD ["/usr/bin/supervisord", "-c", "/etc/supervisor/conf.d/supervisord.conf"]
|
||||
CMD ["/usr/bin/supervisord", "-c", "/etc/supervisor/conf.d/supervisord.conf"]
|
||||
|
||||
Reference in New Issue
Block a user