add dockerfile and release first version

This commit is contained in:
2025-06-20 16:06:50 +07:00
parent 9d73a5b763
commit 300807e26a
12 changed files with 318 additions and 51 deletions
+17
View File
@@ -0,0 +1,17 @@
FROM python:3.9-slim
WORKDIR /app
RUN pip install uv
COPY pyproject.toml uv.lock ./
RUN uv sync --frozen
COPY . .
RUN useradd --create-home --shell /bin/bash app && \
chown -R app:app /app
USER app
CMD ["uv", "run", "python", "main.py"]