Deployment configuration
This commit is contained in:
parent
36a8767349
commit
8477f778eb
11
Dockerfile
Normal file
11
Dockerfile
Normal 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
5
database.sql
Normal 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
|
||||||
|
);
|
||||||
Loading…
x
Reference in New Issue
Block a user