From 69c0f042d6f280325b6201b9bfcc4481a28f35ad Mon Sep 17 00:00:00 2001 From: Vinicius Vaz Date: Mon, 16 Oct 2023 10:47:04 -0300 Subject: [PATCH] cli with bottle --- Dockerfile-domino-piece.dev | 1 - Dockerfile-domino-piece.gpu-dev | 1 - Dockerfile-domino-piece.gpu-prod | 1 - Dockerfile-domino-piece.prod | 1 - pyproject.toml | 2 +- 5 files changed, 1 insertion(+), 5 deletions(-) diff --git a/Dockerfile-domino-piece.dev b/Dockerfile-domino-piece.dev index 5979775b..bec67a3d 100644 --- a/Dockerfile-domino-piece.dev +++ b/Dockerfile-domino-piece.dev @@ -23,7 +23,6 @@ COPY pyproject.toml /home/domino/domino_py/ COPY src/domino /home/domino/domino_py/src/domino WORKDIR /home/domino/domino_py RUN chmod -R 777 . -RUN pip install --no-cache -e .[piece] RUN pip install --no-cache -e .[cli] WORKDIR /home \ No newline at end of file diff --git a/Dockerfile-domino-piece.gpu-dev b/Dockerfile-domino-piece.gpu-dev index 9e9de482..f183ce63 100644 --- a/Dockerfile-domino-piece.gpu-dev +++ b/Dockerfile-domino-piece.gpu-dev @@ -35,7 +35,6 @@ COPY pyproject.toml /home/domino/domino_py/ COPY src/domino /home/domino/domino_py/src/domino WORKDIR /home/domino/domino_py RUN chmod -R 777 . -RUN pip install --no-cache -e .[piece] RUN pip install --no-cache -e .[cli] WORKDIR /home \ No newline at end of file diff --git a/Dockerfile-domino-piece.gpu-prod b/Dockerfile-domino-piece.gpu-prod index 9fb14010..ac9f54ab 100644 --- a/Dockerfile-domino-piece.gpu-prod +++ b/Dockerfile-domino-piece.gpu-prod @@ -31,7 +31,6 @@ RUN chmod -R 777 . # pip install Domino from PyPI RUN python3 -m pip install --upgrade pip \ - pip install domino-py[piece] \ pip install domino-py[cli] WORKDIR /home \ No newline at end of file diff --git a/Dockerfile-domino-piece.prod b/Dockerfile-domino-piece.prod index 88ddd271..3c1992c0 100644 --- a/Dockerfile-domino-piece.prod +++ b/Dockerfile-domino-piece.prod @@ -19,7 +19,6 @@ RUN chmod -R 777 . # pip install Domino from PyPI RUN /usr/local/bin/python -m pip install --upgrade pip \ - pip install domino-py[piece] \ pip install domino-py[cli] WORKDIR /home \ No newline at end of file diff --git a/pyproject.toml b/pyproject.toml index 58cd2fc1..3d5e71de 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -61,7 +61,6 @@ readme = { file = 'README.md', content-type = 'text/markdown' } domino = "domino.cli.cli:cli" [project.optional-dependencies] -piece = ["bottle==0.12.25"] cli = [ "urllib3== 1.26.15", "cryptography==39.0.1", @@ -69,6 +68,7 @@ cli = [ "PyGithub==1.55", "docker>=6.0.1", "kubernetes==23.6.0", + "bottle==0.12.25" ] airflow = [ "apache-airflow==2.6.3",