init
Some checks failed
Deploy to ras-dan-01 / deploy (push) Has been cancelled

This commit is contained in:
2025-08-26 14:35:48 +02:00
commit 370974a57d
22 changed files with 1523 additions and 0 deletions

19
Dockerfile Normal file
View File

@@ -0,0 +1,19 @@
FROM python:3.9-slim-bookworm
WORKDIR /app
# Install build dependencies for mariadb-connector-c
RUN apt-get update && apt-get install -y \
default-libmysqlclient-dev \
gcc \
pkg-config \
&& rm -rf /var/lib/apt/lists/*
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
EXPOSE 5082
CMD ["python3", "main.py"]