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

432
Views
Gunicorn no puede encontrar módulos

Estoy tratando de ejecutar una imagen de django-docker a través de gunicorn. Sin embargo, gunicorn no encuentra mis módulos.

Traté de usar gunicorn en un venv. (agregando CMD exec source venv/bin/activate en el Dockerfile). Esto tampoco funciona. ¿Qué estoy haciendo mal?

Dockerfile

 FROM python:3.6.7 MAINTAINER Jasper ADD . /usr/src/app WORKDIR /usr/src/app COPY requirements.txt ./ RUN pip install --no-cache-dir -r requirements.txt EXPOSE 8000 CMD exec gunicorn bomt_project.wsgi:application --preload --bind 0.0.0.0:8000 --workers 3

Espero que el servidor se ejecute en el puerto 8000. Sin embargo, el resultado es ModuleNotFoundError: No module named 'widget_tweaks'

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!