How to cache spacy model in gitlab runner when building docker image

I use docker and gitlab. My docker file is like this

FROM ubuntu:16.04
RUN apt-get update && apt-get install
RUN pip3 install wheel
RUN pip3 install spacy
RUN python3 -m spacy download en_core_web_md

wheel and spacy packages are cached in the GitLab runner when I build the docker container, but not the spacy model.

Is there a way to cache the en_core_web_md model in the GitLab runner too, so that the model can be installed without downloading it again.

Source: StackOverflow