build(deploy): add cloud stack containers

This commit is contained in:
2026-07-12 22:58:17 +08:00
parent 1f95d23beb
commit dbd70732e1
7 changed files with 172 additions and 1 deletions
+15
View File
@@ -0,0 +1,15 @@
FROM ghcr.io/astral-sh/uv:python3.14-bookworm-slim
ENV PYTHONDONTWRITEBYTECODE=1 \
PYTHONUNBUFFERED=1 \
UV_COMPILE_BYTECODE=1 \
UV_LINK_MODE=copy
WORKDIR /app
COPY . .
RUN uv sync --locked --all-packages --no-dev
ENV PATH="/app/.venv/bin:$PATH"
CMD ["device-cloud-api", "--host", "0.0.0.0", "--port", "8001"]