KapJI / capital-gains-calculator

UK capital gains tax calculator which supports transaction history from different brokers
MIT License
124 stars 48 forks source link

Dockerfile #471

Closed deed02392 closed 8 months ago

deed02392 commented 8 months ago

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

vmartinv commented 8 months ago

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

deed02392 commented 8 months ago

@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.

KapJI commented 8 months ago

Please format README with prettier to pass CI.

KapJI commented 8 months ago

Thanks!