Add Bambuddy InvenTree sync service

This commit is contained in:
2026-04-15 13:45:55 +03:00
commit 9f3d825120
16 changed files with 1044 additions and 0 deletions

16
Dockerfile Normal file
View File

@@ -0,0 +1,16 @@
FROM python:3.12-slim
ENV PYTHONDONTWRITEBYTECODE=1 \
PYTHONUNBUFFERED=1 \
PIP_NO_CACHE_DIR=1
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY src ./src
EXPOSE 8080
CMD ["uvicorn", "bambuddy_inventree_sync.main:app", "--host", "0.0.0.0", "--port", "8080", "--app-dir", "src"]