Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

215
Views
Dockerizing Python Gets Unsatisfied Dependency Exception

This running without problem:

pip install --no-cache-dir --upgrade -r requirements.txt

But when run it inside Dockerfile it gets that err:

ERROR: Could not find a version that satisfies the requirement cloud-init==20.2 (from versions: none)

This is Dockerfile:

FROM python:3.6

RUN mkdir -p /usr/src/app/server
WORKDIR /user/src/app/server

COPY requirements.txt /usr/src/app/server

RUN python -m pip install --upgrade pip

RUN pip install --no-cache-dir --upgrade -r /usr/src/app/server/requirements.txt

COPY . /usr/src/app/server

CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "8000"]

What could be the problem?

over 4 years ago · Santiago Trujillo
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!