# Alpine Linux with Python
# This shows how to install Python on Alpine Linux

FROM alpine:3.22

# Install Python 3 and pip
RUN apk add --no-cache \
    python3 \
    py3-pip

# Verify installation
RUN python3 --version && \
    python3 -m pip --version

# Set python3 as python
RUN ln -sf /usr/bin/python3 /usr/bin/python

CMD ["/bin/sh"]