Skip to content

Commit 432245a

Browse files
authored
Where must we add?
1 parent 145fad7 commit 432245a

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

docs/install/containers/images/backend.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,8 @@ docker run -p 8080:8080 myproject:latest start
316316
In the directory containing your `Dockerfile`, create a folder `etc/zope.conf.d`.
317317
Add your `zope.conf` configuration fragments there.
318318

319-
Now add the following to your `Dockerfile`:
319+
Now add the following to your `Dockerfile`, before any `RUN`, `CMD` or `ENTRYPOINT`
320+
stanzas it may have, and after the `FROM` stanza:
320321

321322
```Dockerfile
322323
COPY /etc/zope.conf.d/*.conf /app/etc/zope.conf.d/
@@ -331,7 +332,8 @@ In the directory containing your `Dockerfile`, create a folder `etc/package-incl
331332
Add your ZCML configuration fragments (named `*-meta.zcml`, `*-configure.zcml`,
332333
`*-overrides.zcml`) as files in that folder.
333334

334-
Now add the following to your `Dockerfile`:
335+
Now add the following to your `Dockerfile`, before any `RUN`, `CMD` or `ENTRYPOINT`
336+
stanzas it may have, and after the `FROM` stanza:
335337

336338
```Dockerfile
337339
COPY /etc/package-includes/*.zcml /app/etc/package-includes/

0 commit comments

Comments
 (0)