Files
Jyotisha/deploy/railway-api.Dockerfile
T
linmeng 7a36169f5d
Staging Backend Quality Gate (push the reviewed main SHA to staging to auto-deploy) / validate (push) Failing after 9m1s
Staging Backend Quality Gate (push the reviewed main SHA to staging to auto-deploy) / publish-and-deploy (push) Has been skipped
fix: avoid Docker Hub timeout in Gitea builds
2026-07-28 09:37:32 +08:00

22 lines
647 B
Docker

FROM registry.cn-hangzhou.aliyuncs.com/library/python:3.12-slim
ENV PYTHONUNBUFFERED=1 \
PIP_NO_CACHE_DIR=1
WORKDIR /app
COPY 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
COPY jyotish_vedic ./jyotish_vedic
COPY references ./references
COPY scripts ./scripts
COPY skills ./skills
CMD ["sh", "-c", "exec python scripts/jyotish_api_server.py --host 0.0.0.0 --port \"${PORT:-5200}\""]