yarqa / Dockerfile
betterwithage's picture
yarqa Space — FastAPI + vendored-THREE (docker SDK), honest CFD tier
b1c6fd2 verified
Raw
History Blame Contribute Delete
595 Bytes
# Copyright 2026 SZL Holdings — SPDX-License-Identifier: Apache-2.0
# yarqa Space — FastAPI + sovereign static app (vendored THREE r160, zero CDN).
FROM python:3.11-slim
ENV PYTHONUNBUFFERED=1 PORT=7860
WORKDIR /app
# Install the yarqa package itself (parent dir) plus the space requirements.
COPY pyproject.toml /app/pyproject.toml
COPY yarqa /app/yarqa
COPY space /app/space
RUN pip install --no-cache-dir -e . && \
pip install --no-cache-dir -r space/requirements.txt
EXPOSE 7860
WORKDIR /app/space
CMD ["python", "-m", "uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]