Explorar el Código

Add wait-for-it script to halt webserver untill database ready

https
jakobsn hace 6 años
padre
commit
3cbdf5cc92
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      src/Dockerfile

+ 1
- 1
src/Dockerfile Ver fichero

@@ -18,6 +18,6 @@ RUN chmod +x /entrypoint.sh

ENTRYPOINT ["/entrypoint.sh"]

RUN chmod +x ./wait
RUN chmod +x ./wait-for-it.sh

CMD ["./wait-for-it.sh", "-h", "10.5.0.5", "db:3306", "--", "/start.sh"]

Cargando…
Cancelar
Guardar