Skip to content

Commit d191d85

Browse files
committed
Add a couple of missing DJANGO_DB_PATH envs to docker builds. Thanks Nikita.
1 parent 17beeaa commit d191d85

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

acknowledgments.asciidoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,7 @@ Lars Berberich,
130130
Rodrigo Jacznik,
131131
Tom Nguyen,
132132
rokbot,
133+
Nikita Durne,
133134
and to anyone I've missed off this list,
134135
my sincere apologies, ping me and i'll add you,
135136
and thank you thank you once again.

chapter_10_production_readiness.asciidoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1111,6 +1111,7 @@ $ *docker build -t superlists . && docker run \
11111111
--mount type=bind,source="$PWD/src/db.sqlite3",target=/src/db.sqlite3 \
11121112
-e DJANGO_SECRET_KEY=sekrit \
11131113
-e DJANGO_ALLOWED_HOST=localhost \
1114+
-e DJANGO_DB_PATH=/home/nonroot/db.sqlite3 \
11141115
-it superlists*
11151116
----
11161117

chapter_18_second_deploy.asciidoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ $ *docker build -t superlists . && docker run \
8888
--mount type=bind,source="$PWD/src/db.sqlite3",target=/src/db.sqlite3 \
8989
-e DJANGO_SECRET_KEY=sekrit \
9090
-e DJANGO_ALLOWED_HOST=localhost \
91+
-e DJANGO_DB_PATH=/home/nonroot/db.sqlite3 \
9192
-it superlists
9293
=> [internal] load build definition from Dockerfile 0.0s
9394
=> => transferring dockerfile: 371B 0.0s

0 commit comments

Comments
 (0)