giovtorres / slurm-docker-cluster

A Slurm cluster using docker-compose
MIT License
319 stars 187 forks source link

Rearrange ARGS in Dockerfile to save build time #43

Closed nbelakovski-mssm closed 5 months ago

nbelakovski-mssm commented 5 months ago

If either of these args is changed, the entirety of the Dockerfile is re-executed.

By moving them closer to where they're used the intermediate layers will be cached and build times can improve.