All actions should be performed in the root directory of a Haskell project that uses stack.
The following lines should be present in the project's stack.yaml
file:
docker:
enable: true
Additionally, the BaseImage
and Dockerfile
files from this gist should also be present in the
project's root directory.