Skip to content

Commit

Permalink
add command to run pip install
Browse files Browse the repository at this point in the history
  • Loading branch information
thanh-nguyen-dang committed Jul 8, 2024
1 parent 881bc90 commit e1813a4
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 3 deletions.
4 changes: 3 additions & 1 deletion dockers/spark/master/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,11 @@ COPY README.md setup.py /tube/

RUN python -m poetry config virtualenvs.create false \
&& python -m poetry install -vv --only main --no-interaction \
&& python -m poetry build -vv \
&& python -m poetry show -v

RUN pip install .
RUN python -m pip install --upgrade pip
RUN python -m pip install dist/tube-1.0.5-py3-none-apy.whl

EXPOSE 8080 7077 6066

Expand Down
4 changes: 3 additions & 1 deletion dockers/spark/worker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,11 @@ COPY README.md setup.py /tube/

RUN python -m poetry config virtualenvs.create false \
&& python -m poetry install -vv --only main --no-interaction \
&& python -m poetry build -vv \
&& python -m poetry show -v

RUN pip install .
RUN python -m pip install --upgrade pip
RUN python -m pip install dist/tube-1.0.5-py3-none-apy.whl

EXPOSE 8081

Expand Down
16 changes: 15 additions & 1 deletion poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ repository = "https://github.com/uc-cdis/tube"
include = [
"NOTICE",
]
packages = [{include = "."}]

[tool.poetry.dependencies]
python = "^3.9"
Expand All @@ -28,6 +29,7 @@ setuptools = "65.3.0"
six = "1.16.0"
Werkzeug = "3.0.3"
toml="0.10.2"
wheel="0.43.0"

[tool.poetry.dev-dependencies]
pytest="5.4.3"
Expand Down

0 comments on commit e1813a4

Please sign in to comment.