diff --git a/.gitignore b/.gitignore index aaede41..7339cec 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,3 @@ .venv/ .idea/ -.python-version \ No newline at end of file +.python-version diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 13a1104..a3f7c7b 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -15,6 +15,11 @@ repos: - id: end-of-file-fixer - id: trailing-whitespace + - repo: https://github.com/hadolint/hadolint + rev: v2.12.0 + hooks: + - id: hadolint + - repo: https://github.com/astral-sh/ruff-pre-commit rev: v0.6.9 hooks: diff --git a/Dockerfile b/Dockerfile index 66885f6..ac488bf 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,6 +13,7 @@ RUN --mount=type=cache,target=/root/.cache/uv \ FROM python:3.12-slim WORKDIR /app +# hadolint ignore=DL3008 RUN apt-get update && \ apt-get install -y --no-install-recommends locales tini && \ apt-get clean && \