feat: add more upload file size
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
92fef38800
commit
a75f13ac57
@ -199,6 +199,10 @@ RUN set -eux; \
|
|||||||
# smoke test
|
# smoke test
|
||||||
php --version
|
php --version
|
||||||
|
|
||||||
|
RUN touch /usr/local/etc/php/conf.d/uploads.ini \
|
||||||
|
&& echo "upload_max_filesize = 50M;" >> /usr/local/etc/php/conf.d/uploads.ini \
|
||||||
|
&& echp "post_max_size = 50M;" >> /usr/local/etc/php/conf.d/uploads.ini
|
||||||
|
|
||||||
COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/
|
COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/
|
||||||
COPY --from=mlocati/php-extension-installer /usr/bin/install-php-extensions /usr/local/bin/
|
COPY --from=mlocati/php-extension-installer /usr/bin/install-php-extensions /usr/local/bin/
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user