diff --git a/ai-tools/Docker/Dockerfile b/ai-tools/Docker/Dockerfile index 3202a4b..7b606c7 100644 --- a/ai-tools/Docker/Dockerfile +++ b/ai-tools/Docker/Dockerfile @@ -23,8 +23,7 @@ ENV PYTHONUNBUFFERED=1 WORKDIR /home/${USERNAME} # 3. A: Install dependencies -RUN apt-get update -RUN apt-get install -y \ +RUN apt-get update && apt-get install -y \ --no-install-recommends \ --no-install-suggests \ tree @@ -52,11 +51,11 @@ RUN ollama serve & sleep 5 && ollama pull llama3.1:8b USER root # 5. Cleanup -RUN apt-get autoremove --purge -RUN apt-get autoclean +RUN apt-get autoremove -yqq --purge \ + && apt-get clean \ + && rm -rf /var/lib/apt/lists/* \ + && rm -rf /tmp/* -RUN rm -rf /var/lib/apt/lists/* -RUN rm -rf /tmp/* RUN mkdir -p /tmp/apps # 6. Expose Port and define the command used to run the app diff --git a/itdominator-base-image/Dockerfile b/itdominator-base-image/Dockerfile index c550801..6d0d745 100644 --- a/itdominator-base-image/Dockerfile +++ b/itdominator-base-image/Dockerfile @@ -58,10 +58,10 @@ RUN apt-get update && apt-get install -y \ # 4. Copy files over # 5. Cleanup -RUN apt-get autoremove -y --purge && apt-get autoclean - -RUN rm -rf /var/lib/apt/lists/* -RUN rm -rf /tmp/* +RUN apt-get autoremove -yqq --purge \ + && apt-get clean \ + && rm -rf /var/lib/apt/lists/* \ + && rm -rf /tmp/* # 6. Expose Port and define the command used to run the app EXPOSE 80 diff --git a/itdominator-gui-base-image/Dockerfile b/itdominator-gui-base-image/Dockerfile index eef20e9..dde13b4 100644 --- a/itdominator-gui-base-image/Dockerfile +++ b/itdominator-gui-base-image/Dockerfile @@ -92,12 +92,11 @@ RUN npm --version # 4. ... # 5. Cleanup -RUN apt-get autoremove -y --purge -RUN apt-get autoclean - -RUN rm -rf /var/lib/apt/lists/* -RUN rm -rf /tmp/* -RUN rm requirements.txt +RUN apt-get autoremove -yqq --purge \ + && apt-get clean \ + && rm -rf /var/lib/apt/lists/* \ + && rm -rf /tmp/* + && rm requirements.txt # 6. Expose Port and define the command used to run the app CMD ["bash"]