Skip to content

Commit c6a6da7

Browse files
committed
Merge remote-tracking branch 'csanad/review--chapter-11-ansible'
2 parents aa6987b + 43416b5 commit c6a6da7

File tree

3 files changed

+157
-43
lines changed

3 files changed

+157
-43
lines changed

chapter_09_docker.asciidoc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1348,6 +1348,9 @@ OK
13481348
13491349
But we don't actually want to package up our database _inside_ the image, do we?
13501350
We want the database on the server to have totally separate data from the one on our machine.
1351+
// CSANAD: we need to list `src/db.sqlite3` in the .dockerignore file to achieve this.
1352+
// Otherwise, if the reader did not delete the DB, it would still end up built into
1353+
// the image since the COPY directive copies everything that's inside `src`.
13511354
13521355
// DAVID: This is an important point which might need a bit more explanation.
13531356
// What would happen if we did?

0 commit comments

Comments
 (0)