diff --git a/Dockerfile.gpanel b/Dockerfile.gpanel index 99923ac..64b6b95 100644 --- a/Dockerfile.gpanel +++ b/Dockerfile.gpanel @@ -1,28 +1,13 @@ -FROM ubuntu:bionic +FROM ghostry/python-work:latest LABEL maintainer="Ghostry " RUN apt-get update \ - && apt-get install -y software-properties-common \ - && add-apt-repository ppa:deadsnakes/ppa \ - && apt-get install -y git memcached mysql-client libpq-dev python-dev \ - && apt-get install -y python3-pip \ - && apt dist-upgrade -y \ && apt-get install -y python3.8 \ && apt clean \ - && rm -rf /var/lib/apt/lists/* \ - && pip3 install pipenv + && rm -rf /var/lib/apt/lists/* -ADD start.sh /start.sh ADD Pipfile /data/Pipfile -RUN chmod +x /start.sh \ - && echo 'export LC_ALL=C.UTF-8;export LANG=C.UTF-8;umask 000;' >> /root/.bashrc \ - && cd /data \ +RUN cd /data \ && pipenv install - -WORKDIR /data - -VOLUME ["/data"] - -CMD ["/start.sh"] \ No newline at end of file