Skip to content

Docker multi stage build #9

@emilcode-dev

Description

@emilcode-dev

[ ] Structure Project and Dockerfile as follows:
1. Use Multi-Stage Docker: Base|Dev|Builder|Prod as in PyBay2023 repo
2. Use Poetry in dev and builder stage for proper python dependency handling and then build wheel with it
3. dont use poetry in prod stage, just get wheel form builder stage and install it with pip (comes with base image in the pybay2023 project)
4. start the dev target(stage) from dev container in vs code
5. Check user --> final production image should not run in root mode!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions