FROM python:3.10.4 # set version label ARG PLUGET_VERSION=v1.7.3 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