Files
KSP_project/Dockerfile
T
ArmorandClaude 99be2032ea chore: update Docker config and Guanghan mission timeline
- Docker: update config for topology API deployment
- Timeline: complete GHC-06 EVA log through EVA-14

Co-Authored-By: Claude <noreply@anthropic.com>
2026-07-17 14:48:32 +08:00

17 lines
434 B
Docker

FROM docker.m.daocloud.io/library/python:3.12-slim-bookworm
ENV PYTHONDONTWRITEBYTECODE=1 \
PYTHONUNBUFFERED=1
WORKDIR /app
COPY topology_api/requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY topology_api/ topology_api/
COPY data/wiki/guanghan_topology_demo.html data/wiki/
EXPOSE 8080
CMD ["gunicorn", "--bind", "0.0.0.0:8080", "--workers", "2", "--timeout", "30", "topology_api.app:create_app()"]