---
title: "Discussion on \"Efficient Python Docker Image from any Poetry Project\" | Hashnode"
description: "Discussion on \"Efficient Python Docker Image from any Poetry Project\". A generic Dockerfile starting point to build production-ready Python Docker Images from your Poetry Environment"
url: "https://hashnode.com/posts/efficient-python-docker-image-from-any-poetry-project/62a31fc91ba253b13869b20e"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Efficient Python Docker Image from any Poetry Project](https://denisbrogg.hashnode.dev/efficient-python-docker-image-from-any-poetry-project?utm_source=hashnode&utm_medium=feed)

A generic Dockerfile starting point to build production-ready Python Docker Images from your Poetry Environment

Jun 10, 2022 · 4 min read · denisbrogg.hashnode.dev  
Read the article

-   [#python](https://hashnode.com/tag/python)
-   [#docker](https://hashnode.com/tag/docker)
-   [#docker-images](https://hashnode.com/tag/docker-images)
-   [#dependency-management](https://hashnode.com/tag/dependency-management)
-   [#poetry](https://hashnode.com/tag/poetry)

## Written by

[Denis Broggini](https://hashnode.com/@denisbrogg)

@denisbrogg · Switzerland

  
[View profile](https://hashnode.com/@denisbrogg)

Software Engineer / Data Scientist from Switzerland 🇨🇭

Full-Time SW Engineer in the Data Science field. Learning and sharing my journey in Full Stack Development, Entrepreneurship and Financial Freedom

## Responses 1

Markdown supported · ⌘↵ to post

[Maksim Liubiev](https://hashnode.com/@malter)

[Apr 3, 2023](https://hashnode.com/posts/efficient-python-docker-image-from-any-poetry-project/62a31fc91ba253b13869b20e/comment/642a9076b49153e7098ce131)

Hey, what is `src` here?

`COPY src /app`

[Denis Broggini](https://hashnode.com/@denisbrogg)

[May 10, 2023](https://hashnode.com/posts/efficient-python-docker-image-from-any-poetry-project/62a31fc91ba253b13869b20e/comment/642a9076b49153e7098ce131#reply-645b5416aa4805507413ff6a)

A folder containing your python code
