diff --git a/Dockerfile b/Dockerfile index 46d7f6d..aec7e32 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,6 +12,8 @@ RUN apk add --no-cache openjdk8-jre php7 php7-json php7-openssl python3 py-lxml && mv web /ocr-fileformat-web \ && rm -rf /ocr-fileformat \ && apk del git make wget gcc libc-dev +# Disable POST upload limit +sed -i 's,post_max_size = 8M,post_max_size = 0,' /etc/php7/php.ini VOLUME /data WORKDIR /data CMD php7 -S $(hostname -i):8080 -t /ocr-fileformat-web