Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

114
Vistas
How to run gunicorn from 1 folder above manage.py

My folder structure is completely messed up but I am trying to load my django project on to a docker image for the first time and its failing on my CMD step

My directories are as follows:

WORKDIR/appname/appname/wsgi.py

In my docker image I need to call the gunicorn command that runs the server. Typically when I am in the terminal I can cd into the right directory and run

gunicorn appname.wsgi:application --bind 0.0.0.0:8000

How can run this same command from 1 folder structure outside of where I normally am?

I have tried gunicorn ./appname/appname.wsgi:application ...

Thanks in advance

Do i change the WORKDIR right before the command?

about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda