This is a web based utility that accepts Base64 strings and converts them to PDF documents.
To install dependencies please make sure you have Python installed and use
pip install flask
pip install flask-cors
to install Flask and all Flask-CORS
navigate into the project directory and run
python app.py -p 8000
this will spin up a dev server on port 8000
feel free to change the port
To use the app in docker
- run
docker build -t base64topdf .
to build the image - run
docker run -it --rm --name base64topdf -p 8000:8000 base64topdf
to start a container with the address127.0.0.1:8000