Docker-Zero-to-Hero icon indicating copy to clipboard operation
Docker-Zero-to-Hero copied to clipboard

Fixed the Dockerfile to make it work

Open RapTorSubhojeet110 opened this issue 9 months ago • 0 comments

  1. FROM ubuntu was giving errors. We have to add latest tag
  2. Running the python commands directly was giving errors. So, we have to create python virtual environment to resolve the issue.
  3. Introduced apt-get clean &&
    rm -rf /var/lib/apt/lists/* this would reduce the size of the docker image that is being created.
  4. WORKDIR has to be changed to /app/devops because we are getting errors like manage.py file not Found.

RapTorSubhojeet110 avatar May 16 '24 14:05 RapTorSubhojeet110