up
This commit is contained in:
parent
9856cb7765
commit
b3d16d1e74
@ -6,3 +6,10 @@ RUN install-php-extensions @composer opcache intl pdo_mysql pdo_pgsql
|
||||
|
||||
RUN cp $PHP_INI_DIR/php.ini-production $PHP_INI_DIR/php.ini; \
|
||||
sed -i 's/memory_limit = 128M/memory_limit = 1G/' $PHP_INI_DIR/php.ini;
|
||||
|
||||
ENV APACHE_DOCUMENT_ROOT /app/public
|
||||
|
||||
RUN sed -ri -e 's!/var/www/html!${APACHE_DOCUMENT_ROOT}!g' /etc/apache2/sites-available/*.conf
|
||||
RUN sed -ri -e 's!/var/www/!${APACHE_DOCUMENT_ROOT}!g' /etc/apache2/apache2.conf /etc/apache2/conf-available/*.conf
|
||||
|
||||
RUN a2enmod rewrite
|
||||
|
Loading…
x
Reference in New Issue
Block a user