🐳 Add container files
All checks were successful
Python formatting PEP8 / Python-PEP8 (push) Successful in 13s
All checks were successful
Python formatting PEP8 / Python-PEP8 (push) Successful in 13s
This commit is contained in:
parent
7a3e2e5e07
commit
5bf7a17f7a
3 changed files with 23 additions and 0 deletions
3
.dockerignore
Normal file
3
.dockerignore
Normal file
|
@ -0,0 +1,3 @@
|
|||
.env
|
||||
bin
|
||||
lib
|
11
Dockerfile
Normal file
11
Dockerfile
Normal 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
9
compose.yml
Normal file
|
@ -0,0 +1,9 @@
|
|||
---
|
||||
services:
|
||||
matrix-bot-praying-times:
|
||||
build:
|
||||
context: .
|
||||
environment:
|
||||
- BOT_HOMESERVER
|
||||
- BOT_USERNAME
|
||||
- BOT_PASSWORD
|
Loading…
Reference in a new issue