INFRA-001: Docker-Compose-Basis für SillyHome Next anlegen

This commit is contained in:
2026-06-11 00:13:21 +02:00
parent e2bc0644ae
commit 2fb086b1a1
4 changed files with 41 additions and 1 deletions

15
Dockerfile Normal file
View File

@@ -0,0 +1,15 @@
FROM python:3.13-slim
ENV PYTHONDONTWRITEBYTECODE=1 PYTHONUNBUFFERED=1
WORKDIR /app
COPY pyproject.toml ./
RUN python -m pip install --upgrade pip && \
pip install --no-cache-dir -e ".[dev]"
COPY . .
EXPOSE 8000
CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "8000"]