port: from the old factory (tea-mcp/src), as it was, 2026-10-14

This commit is contained in:
teahubxyz committed 2026-10-14 00:20:58 -07:00
commit 667cafd08d
14 files changed
+895

No files matched your search

+12
View File
@@ -0,0 +1,12 @@
FROM python:3.13-slim
ENV PYTHONDONTWRITEBYTECODE=1 PYTHONUNBUFFERED=1
WORKDIR /app
COPY requirements.txt ./
RUN pip install --no-cache-dir -r requirements.txt
COPY server.py registry.py index.html phast.json ./
ARG SOURCE_SHA=unknown
ENV SOURCE_SHA=$SOURCE_SHA
RUN useradd --create-home --uid 10001 phast
USER phast
EXPOSE 8080
CMD ["python", "server.py"]