fix dockerfile
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Aaron Riedel 2023-11-15 00:55:12 +01:00
parent e0b90448fa
commit e85daed477
Signed by: aaron
GPG key ID: 643004654D40D577

View file

@ -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" ]