Chatbot'u tam Containerfile/podman konfigürasyonuna geçir
Browse files at this commit598b86be8f8d1ba8c39c93d70032d671c49f3841Parent: 9d59a1a- chore
- chatbot'u tam Containerfile/podman konfigürasyonuna geçir
4 changed files +5 -5
- .dockerignore → .containerignore +0 -0
- Dockerfile → Containerfile +1 -1
- ReadMe.md +2 -2
- compose.yaml +2 -2
.dockerignore → .containerignorerenamed+0 -0
Dockerfile → Containerfilerenamed+1 -1
| @@ -6,7 +6,7 @@ ENV PYTHONDONTWRITEBYTECODE=1 \ | ||
| 6 | 6 | |
| 7 | 7 | WORKDIR /app |
| 8 | 8 | |
| 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. | |
| 10 | 10 | COPY requirements.txt ./ |
| 11 | 11 | RUN pip install --no-cache-dir --requirement requirements.txt |
| 12 | 12 |
ReadMe.mdmodified+2 -2
| @@ -117,8 +117,8 @@ python -m src.main --evaluate # benchmark üzerinde tam metrik raporu | ||
| 117 | 117 | python -m src.main --chat # etkileşimli terminal asistanı |
| 118 | 118 | python -m src.web # geliştirici web arayüzü (http://127.0.0.1:8000) |
| 119 | 119 | |
| 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 | |
| 122 | 122 | ``` |
| 123 | 123 | |
| 124 | 124 | ### Terminal örneği |
compose.yamlmodified+2 -2
| @@ -2,7 +2,7 @@ services: | ||
| 2 | 2 | chatbot: |
| 3 | 3 | build: |
| 4 | 4 | context: . |
| 5 | - dockerfile: Dockerfile | |
| 6 | - image: rule-based-chatbot:local | |
| 5 | + dockerfile: Containerfile | |
| 6 | + image: localhost/rule-based-chatbot:local | |
| 7 | 7 | init: true |
| 8 | 8 | command: ["python", "-m", "src.main", "--validate"] |