2023-09-22 19:02:13 +02:00
|
|
|
FROM fedora
|
|
|
|
|
|
|
|
ADD . /install
|
|
|
|
WORKDIR /var/lib/platypush
|
|
|
|
|
|
|
|
ARG DOCKER_CTX=1
|
|
|
|
ENV DOCKER_CTX=1
|
|
|
|
|
|
|
|
# Enable the RPM Fusion repository
|
2024-01-15 21:54:22 +01:00
|
|
|
RUN dnf install -y https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm && \
|
|
|
|
/install/platypush/install/scripts/fedora/install.sh && \
|
|
|
|
cd /install && pip install -U --no-input --no-cache-dir . && \
|
|
|
|
rm -rf /install && \
|
|
|
|
dnf clean all -y
|
2023-09-22 19:02:13 +02:00
|
|
|
|
|
|
|
EXPOSE 8008
|
|
|
|
|
|
|
|
VOLUME /etc/platypush
|
|
|
|
VOLUME /var/lib/platypush
|
2023-10-03 16:53:25 +02:00
|
|
|
VOLUME /var/cache/platypush
|
2023-09-22 19:02:13 +02:00
|
|
|
|
|
|
|
CMD platypush \
|
|
|
|
--start-redis \
|
|
|
|
--config /etc/platypush/config.yaml \
|
2023-10-03 16:53:25 +02:00
|
|
|
--workdir /var/lib/platypush \
|
|
|
|
--cachedir /var/cache/platypush
|