🐳 Add container files
All checks were successful
Python formatting PEP8 / Python-PEP8 (push) Successful in 13s

This commit is contained in:
Finn Christiansen 2024-06-12 21:36:53 +02:00
parent 7a3e2e5e07
commit 5bf7a17f7a
3 changed files with 23 additions and 0 deletions

3
.dockerignore Normal file
View file

@ -0,0 +1,3 @@
.env
bin
lib

11
Dockerfile Normal file
View file

@ -0,0 +1,11 @@
# syntax=docker/dockerfile:1
FROM python:3.12-alpine
WORKDIR /bot
COPY requirements.txt requirements.txt
RUN pip3 install -r requirements.txt
COPY . .
CMD ["python", "bot.py"]

9
compose.yml Normal file
View file

@ -0,0 +1,9 @@
---
services:
matrix-bot-praying-times:
build:
context: .
environment:
- BOT_HOMESERVER
- BOT_USERNAME
- BOT_PASSWORD