mirror of
https://github.com/Fluffy-Bean/Lynxie.git
synced 2025-05-29 23:03:15 +00:00
Add Dockerfile
Update blacklist Clean up e621 code
This commit is contained in:
parent
dbe660ded9
commit
d28a759f8e
24 changed files with 119 additions and 37 deletions
17
Bot/Dockerfile
Normal file
17
Bot/Dockerfile
Normal 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"]
|
Loading…
Add table
Add a link
Reference in a new issue