Closed gaurijo closed 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
docker image
docker compose
Things to Note:
$curl
RUN apt-get update
Reproduce this image build by running:
$docker build -t book-tracker-tests:latest -f docker/book-tracker-test/Dockerfile .
Reproduce the container builds by running:
$docker compose -f docker-compose.yml -f docker-compose.test.yml up --build
Tests are now running in Docker and this PR is ready for review @adolski
This PR handles building a
docker image
for the book-tracker tests and runningdocker compose
to spin up app and test/postgres containersThings to Note:
$curl
inside theRUN apt-get update
for any transfer of data but not sure if this is actually neededReproduce this image build by running:
$docker build -t book-tracker-tests:latest -f docker/book-tracker-test/Dockerfile .
Reproduce the container builds by running:
$docker compose -f docker-compose.yml -f docker-compose.test.yml up --build