Skip to content

Commit 3e7087c

Browse files
committed
Allow adit-radis-shared to be used as a Python package
1 parent 15302d7 commit 3e7087c

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,10 @@ RUN curl -sSL https://install.python-poetry.org | python3 -
5959

6060
# copy project requirement files here to ensure they will be cached.
6161
WORKDIR $PYSETUP_PATH
62-
COPY poetry.lock pyproject.toml ./
62+
COPY poetry.lock pyproject.toml README.md ./
6363

6464
# install runtime deps - uses $POETRY_VIRTUALENVS_IN_PROJECT internally
65-
RUN poetry install --without dev
65+
RUN poetry install --without dev --no-root
6666

6767

6868
# `development` image is used during development / testing
@@ -75,7 +75,7 @@ COPY --from=builder-base $POETRY_HOME $POETRY_HOME
7575
COPY --from=builder-base $PYSETUP_PATH $PYSETUP_PATH
7676

7777
# quicker install as runtime deps are already installed
78-
RUN poetry install
78+
RUN poetry install --no-root
7979

8080
# Install requirements for end-to-end testing
8181
RUN playwright install --with-deps chromium

pyproject.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ dynamic = ["dependencies", "version"]
99

1010
[tool.poetry]
1111
version = "0.0.0"
12-
package-mode = false
1312

1413
[tool.poetry.dependencies]
1514
channels = "^4.0.0"

0 commit comments

Comments
 (0)