Deployment configuration

This commit is contained in:
florian 2025-10-11 17:57:10 +02:00
parent 36a8767349
commit 8477f778eb
2 changed files with 16 additions and 0 deletions

11
Dockerfile Normal file
View File

@ -0,0 +1,11 @@
FROM python:3.12-slim
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
WORKDIR /app
COPY src/ /app/
ENTRYPOINT ["python","main.py"]

5
database.sql Normal file
View File

@ -0,0 +1,5 @@
CREATE TABLE stories (id INT AUTO_INCREMENT PRIMARY KEY,
royalroadId INT NOT NULL,
lastChapter INT DEFAULT 0,
active BOOLEAN NOT NULL DEFAULT TRUE
);