Converts docx to pdf.
- Picks file from queue directory
- Converts every file in documents to pdf
- Saves new file in done
Update docker.env with correct settings
DONE_DIRECTORY_PATH=test/directories/done
ERRORS_DIRECTORY_PATH=test/directories/errors
QUEUE_DIRECTORY_PATH=test/directories/queue
TEMP_DIRECTORY_PATH=test/directories/temp
PAPERTRAIL_HOSTNAME=convert-docx-to-pdf
PAPERTRAIL_HOST=logs.papertrailapp.com
PAPERTRAIL_PORT=12345
$ docker build -t convert-robot .
$ docker run --env-file=docker.env --volume=/test/directories/queue:/src/test/directories/queue --rm convert-robot
This will start a container. Do the job. Stop the container and remove it.