The following code should be replaced and use COPY or similar approach to pull in only what's required from src folder etc. Developmnet using this means you can only build once you've already merged to dev, should build from whatever the current branch is or able to build locally.
RUN git clone https://github.com/NeotomaDB/MetaExtractor
WORKDIR MetaExtractor/
RUN git switch dev