Skip to content

Commit

Permalink
[#188150227] Automatically build acme-cart image in local docker compose
Browse files Browse the repository at this point in the history
  • Loading branch information
David Joo authored and Brian Shim committed Aug 22, 2024
1 parent ea768b9 commit 846cc4c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion apps/acme-cart/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ The acme-cart image is based on the official Python image.
To run the acme-cart and the redis dependency for local test, use the `docker-compose` file:

```bash
# Run the Redis container
# Run the acme-cart image and Redis container
docker-compose up
```

Expand Down
3 changes: 3 additions & 0 deletions local-development/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,9 @@ services:
- "5432:5432"

cart:
build:
context: ../apps/acme-cart
dockerfile: Dockerfile
container_name: cart-server
image: acme-cart:latest
hostname: cart
Expand Down

0 comments on commit 846cc4c

Please sign in to comment.