-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into download-url
- Loading branch information
Showing
2 changed files
with
23 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,11 +5,12 @@ MAINTAINER Konstantin Baierer <[email protected]> | |
EXPOSE 8080 | ||
COPY . /ocr-fileformat | ||
WORKDIR /ocr-fileformat | ||
RUN apk add --no-cache openjdk8-jre php7 php7-json python py-lxml git make ca-certificates wget bash gcc libc-dev \ | ||
RUN apk add --no-cache openjdk8-jre php7 php7-json php7-openssl python py-lxml git make ca-certificates wget bash gcc libc-dev \ | ||
&& update-ca-certificates \ | ||
&& make install \ | ||
&& cp docker.config.php web/config.local.php \ | ||
&& sed -i '/^upload_max_filesize/ s/=.*$/= 100M' \ | ||
&& sed -i 's/;extension=php_openssl.dll/extension=php_openssl.dll/' /etc/php7/php.ini \ | ||
&& mv web /ocr-fileformat-web \ | ||
&& rm -rf /ocr-fileformat \ | ||
&& apk del git make wget gcc libc-dev | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters