docs: added example dockerfiles for techdocs and templating

Signed-off-by: Alin Stefan Olaru <alin.stefan.olaru@lego.com>
This commit is contained in:
Alin Stefan Olaru
2021-06-04 18:54:14 +02:00
parent 997be24a6e
commit cd2a47bf2e
2 changed files with 19 additions and 3 deletions
@@ -270,3 +270,10 @@ docker image.
If you are running Backstage from a Docker container and you want to avoid
calling a container inside a container, you can set up Cookiecutter in your own
image, this will use the local installation instead.
You can do so by including the following lines in the last step of your `Dockerfile`:
```Dockerfile
RUN apt-get update && apt-get install -y python3 python3-pip
RUN pip3 install cookiecutter
```