change working dir
This commit is contained in:
parent
ee1acebf3d
commit
012cd1d36a
2 changed files with 3 additions and 3 deletions
|
|
@ -1,7 +1,5 @@
|
||||||
FROM python:3.12-slim
|
FROM python:3.12-slim
|
||||||
|
|
||||||
WORKDIR /code
|
|
||||||
|
|
||||||
RUN pip install --no-cache-dir pytest-playwright
|
RUN pip install --no-cache-dir pytest-playwright
|
||||||
|
|
||||||
RUN playwright install
|
RUN playwright install
|
||||||
|
|
@ -10,3 +8,5 @@ RUN playwright install-deps
|
||||||
|
|
||||||
COPY ./requirements.txt ./
|
COPY ./requirements.txt ./
|
||||||
RUN pip install --no-cache-dir -r requirements.txt
|
RUN pip install --no-cache-dir -r requirements.txt
|
||||||
|
|
||||||
|
WORKDIR /code/src
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
docker compose build
|
docker compose build
|
||||||
docker compose run --rm app python ./src/
|
docker compose run --rm app python ./main.py
|
||||||
docker compose run --rm app pytest
|
docker compose run --rm app pytest
|
||||||
# docker-compose up
|
# docker-compose up
|
||||||
```
|
```
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue