Add Docker support

Adds comprehensive docker support
This commit is contained in:
YetheSamartaka 2025-11-07 13:59:16 +01:00
parent 20f4d1ac96
commit 9a4bcb6f97
5 changed files with 243 additions and 24 deletions

17
Dockerfile Normal file
View file

@ -0,0 +1,17 @@
FROM python:3.13-slim
ENV PYTHONUNBUFFERED=1 \
PYTHONDONTWRITEBYTECODE=1
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir --upgrade pip \
&& pip install --no-cache-dir -r requirements.txt
COPY . .
RUN chmod +x /app/entrypoint.sh
EXPOSE 12434
ENTRYPOINT ["/app/entrypoint.sh"]