-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(docker): pull and test docker images locally (#2001)
Motivation ---------- We push our docker images to Github's container registry here: https://github.com/orgs/dreammall-earth/packages?repo_name=dreammall.earth With this change, we will be able to pull these images and test them locally. This speeds up development significantly, especially since on my machine it takes ages to build `frontend` and `presenter`. Setting `BREVO` environment variables was necessary so that the backend server does not terminate immediately. How to test ----------- 1. From the root directory: ``` echo "IMAGE_TAG=<image_tag>" > .env ``` 2. `docker compose -f docker-compose.yml pull` 3. Images get downloaded from container registry
- Loading branch information
1 parent
e62ba57
commit 9bf092f
Showing
4 changed files
with
16 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
IMAGE_TAG= |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,3 +7,5 @@ build/ | |
.vscode | ||
|
||
.DS_Store | ||
|
||
.env |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters