# How to modify Dockerfile?

**URL:** <https://meta.discourse.org/t/how-to-modify-dockerfile/130531>\
**Category:** Self-hosting\
**Tags:** docker\
**Created:** [October 8, 2019, 11:26pm UTC](https://meta.discourse.org/t/how-to-modify-dockerfile/130531 "2019-10-08T23:26:05Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)\
**Post date:** [October 8, 2019, 11:52pm UTC](https://meta.discourse.org/t/how-to-modify-dockerfile/130531/4 "2019-10-08T23:52:42Z")

</div>

The last 5 lines of the app.yml contain an example of running custom commands, for example adding

```
- exec: curl example.com/script.sh | bash

```

Will download an execute that script.

---

_[View the full topic](https://meta.discourse.org/t/how-to-modify-dockerfile/130531)._
