Build using prebuilt configuration
Use this option when you want to build from a prebuilt WProofreader base image.
It does not require an installation package. The Dockerfile pulls the base image from Docker Hub.
What you need
Docker installed.
The prebuilt Dockerfile: Dockerfile.ubuntu-prebuilt
Access to Docker Hub to pull the base image during
docker build.
Build the image
Required build arguments
TAG: the base image tag. It must include the-basesuffix. Example: "6.13.0.0-base".
The list of available tags is on Docker Hub.
WPR_LICENSE_TICKET_ID: activates the license during the build.WPR_LANGUAGES: comma-separated locales.WPR_AI_MODELS: comma-separated AI model IDs.WPR_PROTOCOL:1(HTTPS) or2(HTTP).WPR_VIRTUAL_DIR: virtual directory name.
Default value of WPR_VIRTUAL_DIR is wscservice. Set it to / to serve from the root path.
Example:
For language short codes, see Supported languages.
Use --env at runtime.
These runtime values override the value used during the image build:
WPR_PROTOCOLWPR_WEB_PORTWPR_VIRTUAL_DIR
Full list of runtime options is in the README.
Mount dictionaries and certificates
Mounts are optional. Use them for persistence and for HTTPS.
Persist dictionaries and style guide
Mount /dictionaries to persist shared data outside the container.
It stores:
User custom dictionaries
Organization custom dictionaries
Style Guide data
Use this mount if you:
recreate containers and need the data to survive
run several containers and want them to use shared resources
Example:
Use your own TLS certificate
Mount /certificate and provide these files:
cert.pemkey.pem
Example (HTTPS):
The two common endpoints are:
Version:
http(s)://<host>/wscservice/api?cmd=verStatus:
http(s)://<host>/wscservice/api?cmd=status
Version:
http(s)://<host>/api?cmd=verStatus:
http(s)://<host>/api?cmd=status
Use the checks from the README.
Health and license time:
Log-based license validation:
Next steps
If the target host has no Internet access, continue with Build without internet connection.
Container options and verification are in the upstream README.
Last updated
Was this helpful?

