infra: Dockerfile + docker-compose per paper trader su VPS

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-05-27 10:10:02 +02:00
parent 591f045cde
commit 6755063c7b
2 changed files with 28 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
FROM python:3.11-slim
COPY --from=ghcr.io/astral-sh/uv:latest /uv /usr/local/bin/uv
WORKDIR /app
COPY pyproject.toml uv.lock ./
RUN uv sync --frozen --no-dev
COPY src/ src/
VOLUME /app/data
CMD ["uv", "run", "python", "-m", "src.live.paper_trader"]