From 012cd1d36aeb7573107453df3573fbe413e60289 Mon Sep 17 00:00:00 2001 From: Daniel Date: Wed, 22 Nov 2023 21:27:43 +0100 Subject: [PATCH] change working dir --- Dockerfile | 4 ++-- README.md | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 3f2f854..662da0f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,5 @@ FROM python:3.12-slim -WORKDIR /code - RUN pip install --no-cache-dir pytest-playwright RUN playwright install @@ -10,3 +8,5 @@ RUN playwright install-deps COPY ./requirements.txt ./ RUN pip install --no-cache-dir -r requirements.txt + +WORKDIR /code/src \ No newline at end of file diff --git a/README.md b/README.md index 6856534..acf5183 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ ```bash 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 up ```