fix-docker #10

Merged
dan merged 7 commits from fix-docker into dev 2023-12-07 13:02:40 +01:00
Showing only changes of commit dd9bc20068 - Show all commits

View file

@ -26,7 +26,7 @@ You can run pytest-abra with and without Docker. Choose now and follow the steps
Create a python environment and install all dependencies via
```bash
pip install -r requirements.txt
pip install -e .
playwright install
```
@ -40,7 +40,8 @@ python main.py
```bash
docker compose build # build the image
docker compose run --rm app ./run_pytest-abra.sh # run pytest-abra
docker compose run --rm app python main.py # run pytest-abra
docker compose run --rm -it app /bin/bash # debug the container
```
Force rebuild with cache
@ -49,7 +50,7 @@ Force rebuild with cache
docker-compose up --build
```
Force rebuild wtihtout cache
Force rebuild without cache
```bash
docker-compose build --no-cache
@ -68,5 +69,5 @@ playwright codegen demo.playwright.dev/todomvc
```bash
pytest # test pytest-abra
pytest --collect-only # debug test pytest-abra
docker compose run --rm app ./test_pytest-abra.sh # test pytest-abra
docker compose run --rm app pytest # run pytest-abra
```