forge
Explore
Log in

Don't you dare go Hollow

Chatbot'u tam Containerfile/podman konfigürasyonuna geçir

Browse files at this commit

598b86be8f8d1ba8c39c93d70032d671c49f3841Kadir YönakParent: 9d59a1a
  • chore
    • chatbot'u tam Containerfile/podman konfigürasyonuna geçir
Show full message
chore(podman): chatbot'u tam Containerfile/podman konfigürasyonuna geçir

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 → .containerignorerenamed+0 -0
Dockerfile → Containerfilerenamed+1 -1
@@ -6,7 +6,7 @@ ENV PYTHONDONTWRITEBYTECODE=1 \
66
77 WORKDIR /app
88
9-# Uygulama bağımlılıkları eklendiğinde Docker katman önbelleğinden yararlanır.
9+# Uygulama bağımlılıkları eklendiğinde konteyner katman önbelleğinden yararlanır.
1010 COPY requirements.txt ./
1111 RUN pip install --no-cache-dir --requirement requirements.txt
1212
ReadMe.mdmodified+2 -2
@@ -117,8 +117,8 @@ python -m src.main --evaluate # benchmark üzerinde tam metrik raporu
117117 python -m src.main --chat # etkileşimli terminal asistanı
118118 python -m src.web # geliştirici web arayüzü (http://127.0.0.1:8000)
119119
120-# Docker
121-docker compose up --build # container içinde --validate
120+# Podman (Docker uyumlu; motor podman)
121+podman compose up --build # container içinde --validate
122122 ```
123123
124124 ### Terminal örneği
compose.yamlmodified+2 -2
@@ -2,7 +2,7 @@ services:
22 chatbot:
33 build:
44 context: .
5- dockerfile: Dockerfile
6- image: rule-based-chatbot:local
5+ dockerfile: Containerfile
6+ image: localhost/rule-based-chatbot:local
77 init: true
88 command: ["python", "-m", "src.main", "--validate"]