fullstack-development / haskell-starter-kit

Starter Kit for web-backend apps written with Haskell, Servant, Docker and PostgreSQL
BSD 3-Clause "New" or "Revised" License
1 stars 1 forks source link

Optimize Dockerfile.deps for build step caching #25

Closed antonkalinin-ml closed 3 years ago

antonkalinin-ml commented 3 years ago

stack update now updates package index database before copying the project files into the container. The new step is cached by docker so that it speeds up the stack setup step and rebuilding the container.