Skip to content

Commit 776478a

Browse files
committed
feat: Dockerfile
1 parent d0b89bd commit 776478a

File tree

3 files changed

+52
-62
lines changed

3 files changed

+52
-62
lines changed

Dockerfile

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
1-
FROM python:3.11-slim
1+
FROM python:3.10-slim
22

33
WORKDIR /app
44

5-
# Copy everything first (pyproject.toml, README.md, and source code)
65
COPY . .
76

8-
# Install the package + dependencies
7+
# Install dependencies
98
RUN pip install .
109

11-
# Default command
12-
ENTRYPOINT ["python", "-m", "databusclient"]
10+
# Use ENTRYPOINT for the CLI
11+
ENTRYPOINT ["databusclient"]

poetry.lock

Lines changed: 45 additions & 50 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,22 +8,18 @@ readme = "README.md"
88

99
[tool.poetry.dependencies]
1010
python = "^3.9"
11-
typer = "^0.6.1"
11+
click = "^8.0.4"
1212
requests = "^2.28.1"
1313
tqdm = "^4.42.1"
1414
SPARQLWrapper = "^2.0.0"
15-
click = "<8.0"
1615
rdflib = "^7.2.1"
1716

18-
19-
[tool.poetry.dev-dependencies]
20-
black = "^22.6.0"
21-
2217
[tool.poetry.group.dev.dependencies]
18+
black = "^22.6.0"
2319
pytest = "^7.1.3"
2420

2521
[tool.poetry.scripts]
26-
databusclient = "databusclient:run"
22+
databusclient = "databusclient.cli:app"
2723

2824
[build-system]
2925
requires = ["poetry-core>=1.0.0"]

0 commit comments

Comments
 (0)