The python:3.10 base image does not have inkscape installed by default. To create a Docker image with inkscape, based on python:3.10, you would use a Dockerfile containing the statements
FROM python:3.10
RUN apt-get update && apt-get install -y-assume-yes --no-install-recommends inkscape
Note that the string after the RUN keyword is a Unix shell command, so the capitalisation is significant.