Skip to content

Commit aec72a9

Browse files
committed
Upgrade docker base image to 3.14-rc-slim, in chapter 9
1 parent 84747c5 commit aec72a9

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

chapter_09_docker.asciidoc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -496,7 +496,7 @@ next to the _src/_ directory we made earlier:
496496
====
497497
[source,dockerfile]
498498
----
499-
FROM python:3.14-slim # <1>
499+
FROM python:3.14-rc-slim # <1>
500500
501501
COPY src /src # <2>
502502
@@ -517,6 +517,8 @@ CMD ["python", "manage.py", "runserver"] # <4>
517517
called "slim" because it's as small as possible.
518518
It's based on a popular version of Linux called Debian,
519519
and of course it comes with Python already installed on it.
520+
By the time you're reading this book, 3.14 should be past the release candidate stage,
521+
so you should use `3.14-slim`.
520522

521523
<2> The `COPY` instruction (the uppercase words are called "instructions")
522524
lets you copy files from your own computer into the container image.

0 commit comments

Comments
 (0)