From 861d2822b9391094d557ab676d539075a44cff94 Mon Sep 17 00:00:00 2001 From: Pouzor Date: Fri, 27 Mar 2026 14:59:10 +0100 Subject: [PATCH] fix: add iputils-ping to Docker image and bump version to 1.3.2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ping was missing from python:3.13-slim — ping check method always returned offline on fresh Docker installs. --- Dockerfile.backend | 4 ++-- backend/app/main.py | 2 +- frontend/package.json | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile.backend b/Dockerfile.backend index 1238a94..86957ac 100644 --- a/Dockerfile.backend +++ b/Dockerfile.backend @@ -2,8 +2,8 @@ FROM python:3.13-slim WORKDIR /app -# Install nmap for network scanning -RUN apt-get update && apt-get install -y --no-install-recommends nmap && rm -rf /var/lib/apt/lists/* +# Install nmap for network scanning + iputils-ping for ping-based status checks +RUN apt-get update && apt-get install -y --no-install-recommends nmap iputils-ping && rm -rf /var/lib/apt/lists/* COPY backend/requirements.txt . RUN pip install --no-cache-dir -r requirements.txt diff --git a/backend/app/main.py b/backend/app/main.py index 5ff2a8c..844716a 100644 --- a/backend/app/main.py +++ b/backend/app/main.py @@ -22,7 +22,7 @@ async def lifespan(app: FastAPI) -> AsyncGenerator[None, None]: app = FastAPI( title="Homelable API", - version="1.3.1", + version="1.3.2", lifespan=lifespan, ) diff --git a/frontend/package.json b/frontend/package.json index 2530f7c..f4016d1 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -1,7 +1,7 @@ { "name": "frontend", "private": true, - "version": "1.3.1", + "version": "1.3.2", "type": "module", "scripts": { "dev": "vite",