News for hackers. Stuff that matters.
Re:Show HN: IndigoStack – a new native macOS app for local w... by darkwater on Tuesday May 24, 2022 @05:51AM (#31489999)
The idea is to have the same build pipeline that works locally or in prod. In the end it keeps being an holy grail because dev requirements usually differ from prod requirements (i.e. code hot-reload as fast as possible with interpreted languages in dev vs slimmest possible image in prod).
Re:Show HN: IndigoStack – a new native macOS app for local w... by leadingthenet on Tuesday May 24, 2022 @07:47AM (#31490786)
You can just have multiple stages in the same Dockerfile, one for dev and another for prod, and have your docker compose yml file target the dev one.
Re:Show HN: IndigoStack – a new native macOS app for local w... by darkwater on Tuesday May 24, 2022 @10:53AM (#31492910)
Yes, I did exactly this at $DAYJOB, the holy grail for me would be to have the exact same build process without any "if $environment". But anyway I agree it is good enough.