# Construyendo la imagen sin tocar la base de datos

**URL:** <https://meta.discourse.org/t/building-the-image-without-touching-the-database/171454>\
**Category:** Self-hosting\
**Created:** [27 Noviembre, 2020 00:33 UTC](https://meta.discourse.org/t/building-the-image-without-touching-the-database/171454 "2020-11-27T00:33:22Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![pschichtel](https://avatars.discourse-cdn.com/v4/letter/p/6a8cbe/32.png) [@pschichtel](https://meta.discourse.org/u/pschichtel)\
**Post date:** [7 Febrero, 2021 02:14 UTC](https://meta.discourse.org/t/building-the-image-without-touching-the-database/171454/4 "2021-02-07T02:14:22Z")

</div>

¡Por fin me tomé el tiempo para implementar esto!

Implementé la compilación de la imagen utilizando una tubería de GitLab CI que ejecuta PostgreSQL y Redis como servicios durante la compilación y los descarta después:

> <https://gist.github.com/pschichtel/2ca35ea87a0ad28a6caf4504660c4921>

Ahora solo tengo que automatizar la implementación con las migraciones de la base de datos.

---

_[View the full topic](https://meta.discourse.org/t/building-the-image-without-touching-the-database/171454)._
