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, "."]