Skip to content

Commit

Permalink
fix: Docker build times and caching of images locally
Browse files Browse the repository at this point in the history
  • Loading branch information
alexdigdir committed Sep 24, 2024
1 parent 0091fa7 commit 32a6ebf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ dev: ## Runs Docker compose in watch mode for development
compose-down: ## Runs `docker compose down`
docker compose down

pull: ## Pulls and stores images locally and builds project
docker compose pull && docker pull node:20-slim && docker compose build

# ---------------------
# - Helper functions -
# ---------------------
Expand Down
1 change: 1 addition & 0 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,6 @@ CLIENT_SECRET=<secret_password_keep_this_private>
Running Docker in watch mode:

```bash
make pull (optional)
make dev
```

0 comments on commit 32a6ebf

Please sign in to comment.