From de490d085442fa814e3a1f7b615fd08d2b376a0a Mon Sep 17 00:00:00 2001 From: Marc Cataford Date: Fri, 18 Oct 2024 21:05:30 -0400 Subject: [PATCH] refactor: use bin within container to invoke export function --- Dockerfile | 4 ++-- pyproject.toml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index a94e477..0493bd7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,6 +8,6 @@ RUN pip install -r requirements.txt COPY . . -RUN chmod +x ./tracer.py +RUN pip install . -ENTRYPOINT ["python", "tracer.py"] +ENTRYPOINT ["export_trace"] diff --git a/pyproject.toml b/pyproject.toml index 4503b0a..9a135bb 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -14,7 +14,7 @@ dependencies = [ ] [project.scripts] -export_traces = "tracer:run" +export_trace = "tracer:run" [tool.uv] dev-dependencies = [