# Keep env variables from entrypoint

**URL:** <https://forums.docker.com/t/keep-env-variables-from-entrypoint/134942>\
**Category:** Docker Desktop\
**Tags:** docker, windows\
**Created:** [March 4, 2023, 4:33pm UTC](https://forums.docker.com/t/keep-env-variables-from-entrypoint/134942 "2023-03-04T16:33:01Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![rimelek](https://sea3.discourse-cdn.com/docker/user_avatar/forums.docker.com/rimelek/32/41602_2.png) [@rimelek](https://forums.docker.com/u/rimelek)\
**Post date:** [March 4, 2023, 8:30pm UTC](https://forums.docker.com/t/keep-env-variables-from-entrypoint/134942/2 "2023-03-04T20:30:45Z")

</div>

Please, share your entrypoint, otherwise we can only guess. It is not clear what you mean by variables as I don’t see any reference to variables in your post. If you create the entrypoint properly, everything will run before your python app which is the argument of the entrypoint.

When you share code, use code blocks as mentioned in the below topic:

> [@How to format your forum posts](https://forums.docker.com/t/how-to-format-your-forum-posts/127295):
>
> The Docker forum is using [Discourse](https://www.discourse.org/), which supports several ways to format your posts: Markdown; see [commonmark.org/help](https://commonmark.org/help/) for an interactive tutorial BBCode A small selection of HTML Any combination of the above Blank lines for formatting and readability Quite often you’ll need an empty line above specific formatting to make it work. You also need to type blank lines to create proper paragraphs; just pressing Return once and then typing a new block of text right below a previous block only …

---

_[View the full topic](https://forums.docker.com/t/keep-env-variables-from-entrypoint/134942)._
