capital-gains-calculator icon indicating copy to clipboard operation
capital-gains-calculator copied to clipboard

Dockerfile

Open deed02392 opened this issue 1 year ago • 1 comments

add basic dockerfile that drops into a bash shell with cgt-calc on path from a pipx venv

deed02392 avatar Jan 23 '24 23:01 deed02392

What do you use this for? Could you also add a section in the README with some commands?

vmartinv avatar Feb 01 '24 11:02 vmartinv

@vmartinv this Docker container means you don't have to install LaTeX on your host (which can take a while). I made this Dockerfile with all the necessary dependencies, so that if you want, you could officially link this repo with say hub.docker.com and then people could simply docker pull capital-gains-calculator and not have to worry about separate build instructions etc..

I updated the README.md with instructions on how it works. The gist is you get the tool running in the container and then just share your tax files with it, run the tool and the output PDF gets dropped in the same directory on your host. You could even generate the report with a single command, rather than get an interactive shell in the container first.

deed02392 avatar Feb 04 '24 14:02 deed02392

Please format README with prettier to pass CI.

KapJI avatar Feb 05 '24 11:02 KapJI

Thanks!

KapJI avatar Feb 05 '24 13:02 KapJI