This repository was archived by the owner on May 26, 2025. It is now read-only.
Commit 3f42f92
authored
Change the Containerfile (#30)
Alpine distribution of python is very slow when using `pip` to install the dependencies. For a `requirements.txt` file that includes `pandas` and `numpy`, it ran for about 25 minutes. According to [this](https://stackoverflow.com/a/60086958) stakoverflow answer, Alpine downloads the source file and compiles them from scratch, which is inefficient.
Changing the source image to `-slim` drops the time for that step down to 1.5 minutes.1 parent ff6e5ff commit 3f42f92
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
0 commit comments