fix: build pyswisseph in API image

This commit is contained in:
Jesse_Chen
2026-07-16 09:36:06 +08:00
parent 174d65008a
commit 66bc420edb
+5 -1
View File
@@ -5,7 +5,11 @@ ENV PYTHONUNBUFFERED=1 \
WORKDIR /app
COPY requirements.txt ./
RUN python -m pip install -r requirements.txt
RUN apt-get update \
&& apt-get install -y --no-install-recommends build-essential \
&& python -m pip install -r requirements.txt \
&& apt-get purge -y --auto-remove build-essential \
&& rm -rf /var/lib/apt/lists/*
COPY SKILL.md mcp_server.py ./
COPY assets ./assets