diff options
author | 2023-10-03 11:12:42 +0100 | |
---|---|---|
committer | 2023-10-03 11:12:42 +0100 | |
commit | c7a8fafff8737afbb9c9fe59ad5bf5b3400dde8f (patch) | |
tree | b9a0bdda0037e028881769003e4600b50b56469b /README.md | |
parent | Use 3.12 stable over rc version (diff) |
Add example Docker file and docker compose files, and suggested usages
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -1,2 +1,8 @@ # python-poetry-base -A base Dockerfile with poetry pre-installed +A base Dockerfile with poetry pre-installed. Using this image as a base will allow you to forget about anything required to setup poetry within your Docker environment. + +Simply `COPY` your pyproject & poetry lock file into your image, and `poetry install`. + +virtual environments are created in `/opt/poetry/home` as to not conflict with in-project `.venv` folders that may be copied into the image if using a docker compose source code volume. + +See the [examples](./examples/) folder for example usage. |