From da3445f62a6eb6c8b5168f47f65748a101f84d83 Mon Sep 17 00:00:00 2001 From: Thibault Derousseaux Date: Tue, 13 Feb 2024 19:37:26 -0500 Subject: [PATCH] fixup! Update to Atoti Python API 0.8.9 --- Dockerfile | 2 +- tests/docker/conftest.py | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 10ddb12..b0355b0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -15,6 +15,6 @@ ENV PORT=80 COPY --from=builder /usr/local/lib/python3.9/site-packages /usr/local/lib/python3.9/site-packages COPY app app -ENTRYPOINT ["python", "-O", "-u", "-m", "app"] +ENTRYPOINT ["python", "-u", "-m", "app"] EXPOSE $PORT diff --git a/tests/docker/conftest.py b/tests/docker/conftest.py index dfc557d..fa5c581 100644 --- a/tests/docker/conftest.py +++ b/tests/docker/conftest.py @@ -31,9 +31,7 @@ def poetry_executable_path_fixture() -> str: @pytest.fixture(name="docker_image_name", scope="session") -def docker_image_name_fixture( - docker_executable_path: str, project_name: str -) -> Generator[str, None, None]: +def docker_image_name_fixture(docker_executable_path: str, project_name: str) -> str: tag = f"{project_name}:{uuid4()}" build_image_output = run_command( [docker_executable_path, "build", "--tag", tag, "."]