medusa-project / book-tracker

Medusa Book Tracker
0 stars 0 forks source link

Tests setup in Docker #24

Closed gaurijo closed 1 year ago

gaurijo commented 1 year ago

This PR handles building a docker image for the book-tracker tests and running docker compose to spin up app and test/postgres containers

Things to Note:

Reproduce this image build by running:

$docker build -t book-tracker-tests:latest -f docker/book-tracker-test/Dockerfile .

Screen Shot 2023-09-19 at 3 21 40 PM Screen Shot 2023-09-19 at 2 43 03 PM

Reproduce the container builds by running:

$docker compose -f docker-compose.yml -f docker-compose.test.yml up --build

gaurijo commented 1 year ago

Tests are now running in Docker and this PR is ready for review @adolski

Screen Shot 2023-09-29 at 11 19 37 AM