title: Download file from url in docker
body: <p>I have a python application that uses Gensim word2vec. When I compose docker images using the following docker file, it downloads <code>GoogleNews-vectors-negative300.bin.gz</code> but when running the application using <code>docker-compose up --build</code>, I get an error that the file doesn't exists. </p>
  
  <pre><code>FileNotFoundError: [Errno 2] No such file or directory: 'data/models/GoogleNews-vectors-negative300.bin'
  </code></pre>
  
  <p>When I check my container, I can't find the file. What am I missing here?</p>
  
  <pre><code>#Dockerfile
  FROM python:3.7
  
  RUN mkdir -p /text_features \
    &amp;&amp; mkdir -p /text_features/data/models
  
  COPY ./requirements.txt ./text_features
  
  WORKDIR /text_features
  
  RUN pip install --upgrade pip \
     &amp;&amp; pip install --trusted-host pypi.python.org -r requirements.txt
  
  ADD https://s3.amazonaws.com/dl4j-distribution/GoogleNews-vectors-negative300.bin.gz /text_features/data/models/
  
  COPY . ./text_features
  
  EXPOSE 5010
  
  CMD ["python3", "manage.py", "runserver", "-h", "0.0.0.0", "-p", "5010"]
  </code></pre>
  
  <p>This is also my docker-compose.yml file.</p>
  
  <pre><code># docker-compose.yml
  version: "3.7"
  
  services:
    web:
      build: .
      image: web_textfeatures
      container_name: web_textfeatures
      ports:
        - "5010:5000"
      command: python3 manage.py runserver -h 0.0.0.0
      volumes:
        - .:/text_features
  </code></pre>