Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions content/deploy/tutorials/docker.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,16 +51,18 @@ Here's an example `Dockerfile` that you can add to the root of your directory. i
```docker
# app/Dockerfile

FROM python:3.9-slim
FROM python:3.12-slim

WORKDIR /app

RUN apt-get update && apt-get install -y \
RUN apt-get update && apt-get install -y --no-install-recommends \
build-essential \
curl \
software-properties-common \
git \
&& rm -rf /var/lib/apt/lists/*
gnupg2 \
dirmngr \
apt-transport-https \
&& rm -rf /var/lib/apt/lists/*

RUN git clone https://github.com/streamlit/streamlit-example.git .

Expand Down