From e85daed4773249c2692c551ddefbf3f928dabacc Mon Sep 17 00:00:00 2001 From: Aaron Riedel Date: Wed, 15 Nov 2023 00:55:12 +0100 Subject: [PATCH] fix dockerfile --- Dockerfile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index d3ae191..0b50f42 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ -FROM python:3.13-rc-slim-bullseye +FROM python:3.8.18-slim-bookworm -RUN apt update -qq && apt install -qq -y python3 python3-pip sqlite3 git unzip libmagickwand-dev --no-install-recommends && rm -rf /var/lib/apt/lists/* +RUN apt-get update -qq && apt-get install -qq -y python3 python3-pip sqlite3 git unzip libmagickwand-dev --no-install-recommends && rm -rf /var/lib/apt/lists/* ARG PUID=1000 ENV GROUP dockergroup @@ -14,9 +14,6 @@ WORKDIR ${HOMEDIR} RUN git clone https://github.com/DarkflameUniverse/NexusDashboard.git WORKDIR ${HOMEDIR}/NexusDashboard -RUN pip install -r requirements.txt -RUN pip install gunicorn - COPY ./start.sh . RUN chown -R 1000:1000 . @@ -24,4 +21,7 @@ RUN chmod +x start.sh USER ${USER} +RUN pip install -r requirements.txt +RUN pip install gunicorn + ENTRYPOINT [ "/home/docker/start.sh" ] \ No newline at end of file