From e10d4a96e062818cb2395add1746c733a053c374 Mon Sep 17 00:00:00 2001 From: TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> Date: Wed, 1 Apr 2026 17:25:54 +0900 Subject: feat: add FastAPI REST API service --- services/api/Dockerfile | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 services/api/Dockerfile (limited to 'services/api/Dockerfile') diff --git a/services/api/Dockerfile b/services/api/Dockerfile new file mode 100644 index 0000000..b942075 --- /dev/null +++ b/services/api/Dockerfile @@ -0,0 +1,11 @@ +FROM python:3.12-slim +WORKDIR /app +COPY shared/ shared/ +RUN pip install --no-cache-dir ./shared +COPY services/api/ services/api/ +RUN pip install --no-cache-dir ./services/api +COPY services/strategy-engine/strategies/ /app/strategies/ +COPY services/strategy-engine/ services/strategy-engine/ +RUN pip install --no-cache-dir ./services/strategy-engine +ENV PYTHONPATH=/app +CMD ["uvicorn", "trading_api.main:app", "--host", "0.0.0.0", "--port", "8000"] -- cgit v1.2.3