docker-pluget/Dockerfile

23 lines
557 B
Text
Raw Permalink Normal View History

2022-08-20 18:49:37 +01:00
FROM python:3.10.4
# set version label
2023-08-03 21:43:43 +01:00
ARG PLUGET_VERSION=v1.7.3
2022-08-20 18:49:37 +01:00
LABEL maintainer="oscar@oscarpo.co"
ENV HOME="/config"
RUN curl -LO https://github.com/Neocky/pluGET/releases/download/$PLUGET_VERSION/pluGET-$PLUGET_VERSION.zip
RUN unzip -d config pluGET-$PLUGET_VERSION.zip
COPY /run.py $HOME
WORKDIR $HOME
RUN pip install -r requirements.txt
# allow non-interactive creation of config file
RUN sed -i '/input("Press any key + enter to exit...")/d' $HOME/src/handlers/handle_config.py
RUN python3 pluget.py
CMD python3 run.py && python3 pluget.py