2022-07-15 22:40:27 +02:00
|
|
|
# Base
|
2022-10-08 20:05:28 +02:00
|
|
|
FROM python:3.6-buster
|
2022-07-15 22:40:27 +02:00
|
|
|
RUN apt-get update && \
|
2022-10-16 19:43:15 +02:00
|
|
|
apt-get install -y libdbus-1-dev libgirepository1.0-dev build-essential musl-dev bash
|
|
|
|
RUN pip install dbus-python PyGObject
|
2022-07-15 22:40:27 +02:00
|
|
|
|
|
|
|
# Apprise Setup
|
|
|
|
VOLUME ["/apprise"]
|
|
|
|
WORKDIR /apprise
|
|
|
|
COPY requirements.txt /
|
|
|
|
COPY dev-requirements.txt /
|
|
|
|
ENV PYTHONPATH /apprise
|
2022-10-08 20:05:28 +02:00
|
|
|
ENV PYTHONPYCACHEPREFIX /apprise/__pycache__/py36
|
2022-07-15 22:40:27 +02:00
|
|
|
|
|
|
|
|
|
|
|
RUN pip install -r /requirements.txt -r /dev-requirements.txt
|