adamtupper / cookiecutter-lvsn-workflow

A Cookiecutter template for my LVSN workflow. Utilises DVC for artifact tracking and Docker for deploying experiments on the LVSN servers.
MIT License
0 stars 0 forks source link

Setup pre-commit hooks in Dockerfile #12

Open adamtupper opened 3 years ago

adamtupper commented 3 years ago

Add the following to the Dockerfile to initialise the pre-commit hooks (currently the user has to manually run pre-commit once for future commits to be checked automatically):

# Setup pre-commit hooks
RUN pre-commit install
adamtupper commented 3 years ago

Must be inserted after setting the working directory.