2023-09-20 13:03:14 +03:00

13 lines
522 B
Docker

FROM ubuntu:latest
RUN apt-get update
RUN apt-get install -y wget nano gnupg
RUN wget -O - http://procyon.ddns.net:8080/propilkki_pub.gpg.key | apt-key add -
RUN echo "deb http://procyon.ddns.net:8080/repos/apt/ubuntu focal main" | tee -a /etc/apt/sources.list
RUN apt-get update
RUN apt-get install pp2host
COPY pp2host.conf /etc/pp2host/pp2host.conf
COPY autoscript.txt /etc/pp2host/static/autoscript.txt
COPY autohost.ini /etc/pp2host/static/autohost.ini
CMD ["sh", "-c", "service pp2host start && tail -f /dev/null"]