Skip to content

Commit 5175631

Browse files
committed
dep clean up
1 parent 8a026ed commit 5175631

File tree

3 files changed

+40
-4
lines changed

3 files changed

+40
-4
lines changed

Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ COPY poetry.lock pyproject.toml ./
4040

4141
RUN --mount=type=cache,target=/root/.cache \
4242
python -m venv $VENV_PATH && \
43-
poetry install --no-root --without=dev
43+
poetry install --no-root --only=main
4444

4545
COPY . .
4646
RUN --mount=type=cache,target=/root/.cache \
@@ -75,7 +75,7 @@ COPY --from=builder-base $APP_HOME $APP_HOME
7575
WORKDIR $APP_HOME
7676

7777
RUN --mount=type=cache,target=/root/.cache \
78-
poetry install --with=dev
78+
poetry install --with=tests
7979

8080

8181
## prod image

poetry.lock

+33-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

+5-1
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,13 @@ psycopg = "^3.1.19"
2020
[tool.poetry.scripts]
2121
teufa = "teufa.cli:cli"
2222

23-
[tool.poetry.group.dev.dependencies]
23+
[tool.poetry.group.tests.dependencies]
2424
pytest = "^8.2.0"
2525

26+
27+
[tool.poetry.group.dev.dependencies]
28+
pydeps = "^1.12.20"
29+
2630
[build-system]
2731
requires = ["poetry-core"]
2832
build-backend = "poetry.core.masonry.api"

0 commit comments

Comments
 (0)