With this change it would expose the virtualenv as .venv.
Additionally it allows to change the project dir, that is because unfortunately files within the venv have the path hard-coded.
Now I can run:
export PROJECT_DIR=$PWD
make build
As the directory is not mounted during docker build, I moved the poetry install to make build. The consequence is that make start without having run make build won't work (but we could make that work if necessary).
With this change it would expose the virtualenv as
.venv
. Additionally it allows to change the project dir, that is because unfortunately files within the venv have the path hard-coded.Now I can run:
As the directory is not mounted during docker build, I moved the
poetry install
tomake build
. The consequence is thatmake start
without having runmake build
won't work (but we could make that work if necessary).