This commit is contained in:
parent
e0b90448fa
commit
e85daed477
1 changed files with 5 additions and 5 deletions
10
Dockerfile
10
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
|
ARG PUID=1000
|
||||||
ENV GROUP dockergroup
|
ENV GROUP dockergroup
|
||||||
|
@ -14,9 +14,6 @@ WORKDIR ${HOMEDIR}
|
||||||
RUN git clone https://github.com/DarkflameUniverse/NexusDashboard.git
|
RUN git clone https://github.com/DarkflameUniverse/NexusDashboard.git
|
||||||
WORKDIR ${HOMEDIR}/NexusDashboard
|
WORKDIR ${HOMEDIR}/NexusDashboard
|
||||||
|
|
||||||
RUN pip install -r requirements.txt
|
|
||||||
RUN pip install gunicorn
|
|
||||||
|
|
||||||
COPY ./start.sh .
|
COPY ./start.sh .
|
||||||
|
|
||||||
RUN chown -R 1000:1000 .
|
RUN chown -R 1000:1000 .
|
||||||
|
@ -24,4 +21,7 @@ RUN chmod +x start.sh
|
||||||
|
|
||||||
USER ${USER}
|
USER ${USER}
|
||||||
|
|
||||||
|
RUN pip install -r requirements.txt
|
||||||
|
RUN pip install gunicorn
|
||||||
|
|
||||||
ENTRYPOINT [ "/home/docker/start.sh" ]
|
ENTRYPOINT [ "/home/docker/start.sh" ]
|
Loading…
Reference in a new issue