mirror of
https://github.com/OpenXE-org/OpenXE.git
synced 2024-12-25 06:00:28 +01:00
Docker: improve PHP settings
This commit is contained in:
parent
e21d1d29e0
commit
d40a607236
@ -21,7 +21,9 @@ WORKDIR /app
|
||||
RUN apt-get update && apt-get install -y ${DEB_PKG} ${DEB_PKG_TMP} && \
|
||||
docker-php-ext-configure imap --with-kerberos --with-imap-ssl && \
|
||||
docker-php-ext-install ${PHP_EXT} && \
|
||||
apt-get remove --purge -y ${DEB_PKG_TMP}
|
||||
apt-get remove --purge -y ${DEB_PKG_TMP} && \
|
||||
mv "$PHP_INI_DIR/php.ini-production" "$PHP_INI_DIR/php.ini"
|
||||
|
||||
COPY docker/php "$PHP_INI_DIR/conf.d/"
|
||||
COPY --chown=www-data:www-data . /var/www/html
|
||||
COPY --chown=www-data:www-data --from=frontend /app/www/dist /var/www/html/www/dist
|
3
docker/php/memory.ini
Normal file
3
docker/php/memory.ini
Normal file
@ -0,0 +1,3 @@
|
||||
memory_limit = 256M
|
||||
upload_max_filesize = 32M
|
||||
post_max_size = 32M
|
Loading…
Reference in New Issue
Block a user