CI + CD builds nginx
image during API up
#4289
Labels
🤖 aspect: dx
Concerns developers' experience with the codebase
✨ goal: improvement
Improvement to an existing user-facing feature
🟨 priority: medium
Not blocking but should be addressed soon
🧱 stack: api
Related to the Django API
🐳 tech: docker
Involves Docker
Problem
The
nginx
image is always built in CI job "Run tests for the API". This is because the api/compose.yml does not have animage
field in thenginx
service, which forces it to be built when API is brought up.Description
Add the field
services.nginx.image
to ensure that the image is built-once and cached and subsequently re-used.Alternatives
Another alternative is to drop
nginx
andproxy
from the API profile and let them be started manually by the developers who actually need to run them.The text was updated successfully, but these errors were encountered: