dump current state (wip-ish)
This commit is contained in:
parent
0124c35472
commit
51fb1c9f26
46 changed files with 3749 additions and 0 deletions
3
docker/.dockerignore
Normal file
3
docker/.dockerignore
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
*
|
||||
!entrypoint.sh
|
||||
!requirements.txt
|
||||
1
docker/.dockerimage
Normal file
1
docker/.dockerimage
Normal file
|
|
@ -0,0 +1 @@
|
|||
tikki/matrix-hotdog
|
||||
30
docker/Dockerfile
Normal file
30
docker/Dockerfile
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
# FROM a24bb4013296
|
||||
FROM docker.io/library/alpine:latest
|
||||
|
||||
RUN apk upgrade --no-cache \
|
||||
&& apk add --virtual build-deps --no-cache \
|
||||
python3-dev \
|
||||
gcc \
|
||||
openssl-dev \
|
||||
musl-dev \
|
||||
olm-dev \
|
||||
&& apk add --no-cache \
|
||||
python3 \
|
||||
py3-pip \
|
||||
py3-cffi \
|
||||
openssl \
|
||||
musl \
|
||||
musl-locales \
|
||||
olm \
|
||||
&& pip install -U pip matrix-nio[e2e] \
|
||||
&& apk del --rdepends build-deps \
|
||||
&& rm -rf /root/.cache
|
||||
|
||||
COPY requirements.txt /
|
||||
RUN pip install -Ur /requirements.txt
|
||||
|
||||
COPY entrypoint.sh /
|
||||
|
||||
VOLUME ["/data"]
|
||||
|
||||
CMD "/entrypoint.sh"
|
||||
5
docker/entrypoint.sh
Executable file
5
docker/entrypoint.sh
Executable file
|
|
@ -0,0 +1,5 @@
|
|||
#!/bin/sh -eu
|
||||
|
||||
export PYTHONPATH=/var
|
||||
export MUSL_LOCPATH=/usr/share/i18n/locales/musl
|
||||
python3 -m hotdog --config /data/config.yaml
|
||||
5
docker/requirements.txt
Normal file
5
docker/requirements.txt
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
feedparser==6.*
|
||||
matrix-nio[e2e]
|
||||
pyyaml
|
||||
requests
|
||||
youtube_dl
|
||||
Loading…
Add table
Add a link
Reference in a new issue