This commit is contained in:
parent
fdc2fb9b30
commit
5072af4b0c
4 changed files with 19 additions and 3 deletions
2
.dockerignore
Normal file
2
.dockerignore
Normal file
|
@ -0,0 +1,2 @@
|
|||
venv
|
||||
__pycache__
|
12
.woodpecker.yml
Normal file
12
.woodpecker.yml
Normal file
|
@ -0,0 +1,12 @@
|
|||
pipeline:
|
||||
build-and-publish:
|
||||
image: plugins/docker
|
||||
settings:
|
||||
registry: git.makerlab-murnau.de
|
||||
repo: git.makerlab-murnau.de/MakerLab/matrix-bot
|
||||
auto_tag: true
|
||||
dockerfile: Dockerfile
|
||||
username:
|
||||
from_secret: gitea_username
|
||||
password:
|
||||
from_secret: gitea_password
|
|
@ -1,8 +1,9 @@
|
|||
FROM python:3-alpine
|
||||
|
||||
RUN apk --no-cache add build-base openldap-dev python2-dev python3-dev
|
||||
RUN pip3 install -r requirements.txt
|
||||
RUN apk --no-cache add build-base openldap-dev python3-dev
|
||||
|
||||
COPY src/* ./
|
||||
|
||||
RUN pip3 install -r requirements.txt
|
||||
|
||||
ENTRYPOINT [ "python3", "main.py" ]
|
|
@ -1,3 +1,4 @@
|
|||
python-ldap==3.4.3
|
||||
coloredlogs==15.0.1
|
||||
matrix-nio==0.19.0
|
||||
matrix-synapse-admin==0.7.0
|
Loading…
Reference in a new issue