-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Pushed docker image to docker hub and updated docker compose to use i…
…mage for running app (#29) * updated dockerfile * updated docker compose to pull the image from docker hub
- Loading branch information
1 parent
0a50612
commit 1635a36
Showing
2 changed files
with
4 additions
and
5 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
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 |
---|---|---|
@@ -1,9 +1,8 @@ | ||
# To execute this docker-compose yml file use `docker compose -f docker-compose-ecommerce.yml up -d` | ||
# Add the `-d` flag at the end for detached execution | ||
# To stop the execution, hit Ctrl+C, and then `docker compose -f docker-compose-ecommerce.yml down` | ||
version: '3' | ||
services: | ||
restful-ecommerce: | ||
build: ./ | ||
image: mfaisalkhatri/restful-ecommerce | ||
ports: | ||
- "3004:3004" | ||
- 3004:3004 |