RuntimeError: Pipeline construction environment and pipeline runtime environment are not compatible. If you use a custom container image, check that the Python interpreter minor version and the Apache Beam version in your image match the versions used at pipeline construction time. Submission environment: beam:version:sdk_base:apache/beam_python3.11_sdk:2.54.0. Runtime environment: beam:version:sdk_base:apache/beam_python3.10_sdk:2.56.0.
This is my docker file
FROM apache/beam_python3.10_sdk
COPY file.txt /file.txt
COPY requirements.txt /requirements.txt
RUN pip install apache-beam[gcp]
RUN pip install -r requirements.txt