Add Dockerfile

Update blacklist
Clean up e621 code
This commit is contained in:
Michał Gdula 2023-09-12 11:32:34 +01:00
parent dbe660ded9
commit d28a759f8e
24 changed files with 119 additions and 37 deletions

17
Bot/Dockerfile Normal file
View file

@ -0,0 +1,17 @@
# syntax=docker/dockerfile:1
FROM alpine:3.18.2
EXPOSE 8000
RUN mkdir /app && mkdir /app/data
WORKDIR /app
COPY ./lynxie /app
RUN apk update && \
apk --no-cache add python3 py3-pip && \
pip install --no-cache-dir -r requirements.txt \
RUN python3 database.py
CMD ["python3", "main.py"]