feat: add simple license activation server

This commit is contained in:
Your Name committed 2026-06-18 17:39:56 +08:00
1 parent b2db5ed499
commit 05be83d289
17 files changed
+1053 -6

No files matched your search

+15
View File
@@ -0,0 +1,15 @@
FROM python:3.12-slim
ENV PYTHONDONTWRITEBYTECODE=1
ENV PYTHONUNBUFFERED=1
WORKDIR /app
COPY requirements.txt /app/license_server/requirements.txt
RUN pip install --no-cache-dir -r /app/license_server/requirements.txt
COPY . /app/license_server
EXPOSE 18100
CMD ["uvicorn", "license_server.api:app", "--host", "0.0.0.0", "--port", "18100"]