article

Using Nix with Dockerfiles

Apr 23, 2023·~14 minutes·10 chapters

Chapters

10 total

Nix is a powerful cross-platform package management tool. The benefits of Nix are far reaching, but one big benefit is that once you adopt Nix, you can get a consistent environment across development (on both Linux and Mac), CI, and production.

0:49

Dockerfiles Are Easy, Why Nix?

3:17

The Big Idea

1:08

An Example: Python and Flask

0:11

The Python App

0:22

Nix Flake

2:48

Dockerfile

2:32

Try it!

0:14

Downsides

1:29

Next

1:18

Description

We are not affiliated with Mitchell Hashimoto. This unofficial audio edition is available to listen to and share for free. Read the originals on mitchellh.com.

Details

Duration

~14 minutes (13K characters)

Release date

Apr 23, 2023