Add docker-compose.yml, Dockerfile, and requirements.txt

Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
This commit is contained in:
2023-08-13 19:06:45 -07:00
parent 9548ad6e2a
commit c66906b78f
3 changed files with 50 additions and 0 deletions

7
Dockerfile Normal file
View File

@@ -0,0 +1,7 @@
FROM python:3.11
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY .env .
COPY chanbans ./chanbans
CMD [ "python", "-m", "chanbans", "serve" ]