fix: add iputils-ping to Docker image and bump version to 1.3.2

ping was missing from python:3.13-slim — ping check method always
returned offline on fresh Docker installs.
This commit is contained in:
Pouzor
2026-03-27 14:59:10 +01:00
parent 059bb3daa7
commit 861d2822b9
3 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -2,8 +2,8 @@ FROM python:3.13-slim
WORKDIR /app WORKDIR /app
# Install nmap for network scanning # Install nmap for network scanning + iputils-ping for ping-based status checks
RUN apt-get update && apt-get install -y --no-install-recommends nmap && rm -rf /var/lib/apt/lists/* RUN apt-get update && apt-get install -y --no-install-recommends nmap iputils-ping && rm -rf /var/lib/apt/lists/*
COPY backend/requirements.txt . COPY backend/requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt RUN pip install --no-cache-dir -r requirements.txt
+1 -1
View File
@@ -22,7 +22,7 @@ async def lifespan(app: FastAPI) -> AsyncGenerator[None, None]:
app = FastAPI( app = FastAPI(
title="Homelable API", title="Homelable API",
version="1.3.1", version="1.3.2",
lifespan=lifespan, lifespan=lifespan,
) )
+1 -1
View File
@@ -1,7 +1,7 @@
{ {
"name": "frontend", "name": "frontend",
"private": true, "private": true,
"version": "1.3.1", "version": "1.3.2",
"type": "module", "type": "module",
"scripts": { "scripts": {
"dev": "vite", "dev": "vite",