From 598b86be8f8d1ba8c39c93d70032d671c49f3841 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kadir=20Y=C3=B6nak?= Date: Fri, 14 Aug 2026 09:44:36 +0300 Subject: [PATCH] =?UTF-8?q?chore(podman):=20chatbot'u=20tam=20Containerfil?= =?UTF-8?q?e/podman=20konfig=C3=BCrasyonuna=20ge=C3=A7ir?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Front/back ile aynı Podman konvansiyonuna hizalandı (artık aktif feature line'da, hack değil): - Dockerfile -> Containerfile, .dockerignore -> .containerignore (git mv). - compose.yaml: dockerfile: Containerfile, image localhost/ önekiyle. - ReadMe.md: "# Docker / docker compose" -> "# Podman / podman compose". - Containerfile yorumu: "Docker katman önbelleği" -> "konteyner katman önbelleği". Davranış/kod aynı; yalnız container konfigürasyonu. Stack podman'da bu Containerfile ile ayağa kalkıyor. --- .dockerignore => .containerignore | 0 Dockerfile => Containerfile | 2 +- ReadMe.md | 4 ++-- compose.yaml | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) rename .dockerignore => .containerignore (100%) rename Dockerfile => Containerfile (85%) diff --git a/.dockerignore b/.containerignore similarity index 100% rename from .dockerignore rename to .containerignore diff --git a/Dockerfile b/Containerfile similarity index 85% rename from Dockerfile rename to Containerfile index c101432..746cc79 100644 --- a/Dockerfile +++ b/Containerfile @@ -6,7 +6,7 @@ ENV PYTHONDONTWRITEBYTECODE=1 \ WORKDIR /app -# Uygulama bağımlılıkları eklendiğinde Docker katman önbelleğinden yararlanır. +# Uygulama bağımlılıkları eklendiğinde konteyner katman önbelleğinden yararlanır. COPY requirements.txt ./ RUN pip install --no-cache-dir --requirement requirements.txt diff --git a/ReadMe.md b/ReadMe.md index a57f384..f35c1e3 100644 --- a/ReadMe.md +++ b/ReadMe.md @@ -117,8 +117,8 @@ python -m src.main --evaluate # benchmark üzerinde tam metrik raporu python -m src.main --chat # etkileşimli terminal asistanı python -m src.web # geliştirici web arayüzü (http://127.0.0.1:8000) -# Docker -docker compose up --build # container içinde --validate +# Podman (Docker uyumlu; motor podman) +podman compose up --build # container içinde --validate ``` ### Terminal örneği diff --git a/compose.yaml b/compose.yaml index 9943ff6..e776d7a 100644 --- a/compose.yaml +++ b/compose.yaml @@ -2,7 +2,7 @@ services: chatbot: build: context: . - dockerfile: Dockerfile - image: rule-based-chatbot:local + dockerfile: Containerfile + image: localhost/rule-based-chatbot:local init: true command: ["python", "-m", "src.main", "--validate"]