diff options
| author | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2026-04-01 17:25:54 +0900 |
|---|---|---|
| committer | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2026-04-01 17:25:54 +0900 |
| commit | e10d4a96e062818cb2395add1746c733a053c374 (patch) | |
| tree | bbd222cd840d2c7fc58d3109362fb1b0c00aee26 /services/api/Dockerfile | |
| parent | 21c6b777530b4a027aec9c12bf63092e5a7c006d (diff) | |
feat: add FastAPI REST API service
Diffstat (limited to 'services/api/Dockerfile')
| -rw-r--r-- | services/api/Dockerfile | 11 |
1 files changed, 11 insertions, 0 deletions
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"] |
