I have a flask python app that uses a spacy model (md or lg). I am running in a docker container in VSCode and all work correctly on my laptop.

When I push the image to my azure container registry the app restarts but it doesn't seem to get past this line in the log:

> 
> Initiating warmup request to the container.
> 
> 
> 

If I comment out the line `nlp = spacy.load('en_core_web_lg')`, the website loads fine (of course it doesn't work as expected).

I am installing the model in the docker file after installing the requirements.txt:
`RUN python -m spacy download en_core_web_lg`.

Docker file:

```
FROM python:3.6
EXPOSE 5000

# Keeps Python from generating .pyc files in the container
ENV PYTHONDONTWRITEBYTECODE 1

# Turns off buffering for easier container logging
ENV PYTHONUNBUFFERED 1

# steps needed for scipy
RUN apt-get update -y
RUN apt-get install -y python-pip python-dev libc-dev build-essential
RUN pip install -U pip

# Install pip requirements
ADD requirements.txt.
RUN python -m pip install -r requirements.txt
RUN python -m spacy download en_core_web_md

WORKDIR /app
ADD . /app

# During debugging, this entry point will be overridden. For more information, refer to https://aka.ms/vscode-docker-python-debug
CMD ["gunicorn", "--bind", "0.0.0.0:5000", "Application.webapp:app"]

```