Fix doc about custom nginx config for Dockerfile

This commit is contained in:
Álvaro Justen (@turicas) committed 2020-05-27 16:29:33 -03:00
1 parent c2c9671061
commit 914f695eab
1 file changed
+2 -2
+2 -2
View File
@@ -155,8 +155,8 @@ Dokku uses a templating library by the name of [sigil](https://github.com/glider
- Copy the following example template to a file named `nginx.conf.sigil` and either: - Copy the following example template to a file named `nginx.conf.sigil` and either:
- If using a buildpack application, you __must__ check it into the root of your app repo. - If using a buildpack application, you __must__ check it into the root of your app repo.
- `ADD` it to your dockerfile `WORKDIR` - If using Dockerfile deployment, set `WORKDIR` and `ADD` the file to this
- if your dockerfile has no `WORKDIR`, `ADD` it to the `/app` folder directory (example: `WORKDIR /app` and `ADD nginx.conf.sigil /app`).
> When using a custom `nginx.conf.sigil` file, depending upon your application configuration, you *may* be exposing the file externally. As this file is extracted before the container is run, you can, safely delete it in a custom `entrypoint.sh` configured in a Dockerfile `ENTRYPOINT`. > When using a custom `nginx.conf.sigil` file, depending upon your application configuration, you *may* be exposing the file externally. As this file is extracted before the container is run, you can, safely delete it in a custom `entrypoint.sh` configured in a Dockerfile `ENTRYPOINT`.