Files
WebUp Cloud d1d14f0f77
Verify control plane / verify (push) Canceled after 0s
Verify control plane / verify (pull_request) Canceled after 0s
Publish AI workspace source through the isolated runtime
2026-11-08 17:29:54 +08:00

10 lines
362 B
Docker

ARG BASE_IMAGE=python:3.12-slim
FROM ${BASE_IMAGE}
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY app.py runtime.py domain_runtime.py review_tools.py workspace_changes.py source_runtime.py ./
USER 10001:10001
EXPOSE 8090
CMD ["uvicorn","app:app","--host","0.0.0.0","--port","8090","--workers","1","--no-access-log"]