Skip to content

Commit

Permalink
add dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
d33bs committed Dec 22, 2023
1 parent 4ee9e58 commit 30b7ffd
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
11 changes: 11 additions & 0 deletions build/docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
FROM python:3

WORKDIR /usr/src/app

COPY pyproject.toml poetry.lock ./

# hadolint ignore=DL3013
RUN pip install --no-cache-dir poetry poetry-dynamic-versioning && \
poetry install

COPY . .
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ vcs = "git"
requires = ["poetry-core>=1.0.0", "poetry-dynamic-versioning>=1.0.0,<2.0.0"]
build-backend = "poetry_dynamic_versioning.backend"

[tool.setuptools_scm section]
[tool.setuptools_scm]

0 comments on commit 30b7ffd

Please sign in to comment.