fix: add wget to Dockerfile.api and Dockerfile.web for Swarm healthcheck
O docker-compose.yaml de produção usa wget no healthcheck (CMD-SHELL), mas python:3.12-slim não inclui wget por padrão.
This commit is contained in:
@@ -8,6 +8,11 @@ ENV PYTHONUNBUFFERED=1 \
|
||||
PYTHONDONTWRITEBYTECODE=1 \
|
||||
PIP_NO_CACHE_DIR=1
|
||||
|
||||
# wget para healthcheck do Swarm (CMD-SHELL no docker-compose.yaml de produção)
|
||||
RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||
wget \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
COPY requirements.txt .
|
||||
RUN pip install --no-cache-dir -r requirements.txt
|
||||
|
||||
|
||||
Reference in New Issue
Block a user