Based on Python 13 slim, timezone is set to Asia/Shanghai
FROM python:3.13-slim
# Set timezone
ENV TZ=Asia/Shanghai
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
# Install common dependencies and clean up
RUN apt-get update && apt-get install -y \
git \
curl \
&& rm -rf /var/lib/apt/lists/*
# Create a non-root user
RUN useradd -m -s /bin/bash python_user
USER python_user
Content type
Image
Digest
sha256:dcfb28ee6…
Size
78.2 MB
Last updated
11 months ago
docker pull signalout/python13