Initial commit

This commit is contained in:
SIRMENT
2026-09-16 18:47:15 +00:00
commit 785a6980f6
11 changed files with 428 additions and 0 deletions

48
Dockerfile Normal file
View File

@@ -0,0 +1,48 @@
# =========================
# Base image
# =========================
ARG PYTHON_VERSION=3.11
FROM python:${PYTHON_VERSION}-slim
# =========================
# Python env
# =========================
ENV PYTHONDONTWRITEBYTECODE=1
ENV PYTHONUNBUFFERED=1
ENV PIP_NO_CACHE_DIR=1
ENV PIP_DISABLE_PIP_VERSION_CHECK=1
# =========================
# Application directory
# =========================
WORKDIR /app
# =========================
# Dependencies
# =========================
COPY req.txt ./req.txt
RUN python -m pip install --upgrade pip \
&& python -m pip install -r req.txt
# =========================
# Application
# =========================
COPY src/ ./src/
# =========================
# Startup
# =========================
CMD ["python", "src/main.py"]