Files
office_xbot_feishu/Dockerfile
T
jianxinandClaude Opus 4.8 e81722b8d2
ci/woodpecker/push/woodpecker Pipeline was canceled
slim down image: python:3.10-slim base + python-based healthcheck
Base python:3.10 (917MB) dominated the 986MB image and kaniko's snapshot/push time. All deps are pure-python/wheels, so slim works without build tools. Replace the curl healthcheck (curl absent in slim) with a stdlib urllib check.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-04 17:40:57 +08:00

18 lines
269 B
Docker

FROM python:3.10-slim
#
WORKDIR /code
#
COPY ./requirements.txt /code/requirements.txt
#
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple
#
COPY ./app /code/app
#
# CMD ["python", "/code/app/demo.py"]