podex-api completed with swagger & docker compose

This commit is contained in:
Zentesu
2026-09-26 17:58:51 +03:00
parent 741dd7e968
commit 7ad34e70a4
20 changed files with 2338 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
FROM python:3.12-slim
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY app ./app
COPY data ./data
EXPOSE 8000
CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "8000"]