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

178
Vistas
Why does this yarn command not work in docker

tl;dr In docker containers, after the first run, the chained command will not run.

I'm building a dev flow with docker for a nodejs project and I'm having an issue with a chained command inside the docker container.

The command in question is: tsc -w & nodemon -q -w dist dist/index.js

When I run this locally, it works fine and after code change the nodemon instance reloads and the changes are reflected in the output. If I run this on the docker container, the first run will work (i.e. it shows the tsc step then the code's output). However, after the first run, only the tsc -w step is run.

Is there any reason why this might happen?

Extra info:

  • OS: Win11
  • Base docker image: node
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