From a228c88af58b8ac0b92dc9cd6f16037bdd5dd9ec Mon Sep 17 00:00:00 2001 From: Maria Carmina Date: Thu, 5 Oct 2023 16:27:22 +0300 Subject: [PATCH] Updated a bit. --- Dockerfile | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/Dockerfile b/Dockerfile index 331d3d4b..a3606703 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,20 +6,19 @@ FROM python:3.8-slim-buster LABEL maintainer="Ocean Protocol " ARG VERSION -RUN apt-get update \ - && apt-get upgrade -y \ - && apt-get install --no-install-recommends -y \ - build-essential \ - gcc \ - gettext-base \ - && rm -rf /var/lib/apt/lists/* +RUN apt-get update && \ + apt-get install --no-install-recommends -y \ + build-essential \ + gcc \ + gettext-base && \ + apt-get clean && \ + rm -rf /var/lib/apt/lists/* COPY . /aquarius WORKDIR /aquarius -RUN python3.8 -m pip install setuptools \ - wheel \ - && python3.8 -m pip install . +RUN python3.8 -m pip install --no-cache-dir setuptools wheel && \ + python3.8 -m pip install --no-cache-dir . ENV DB_MODULE='elasticsearch' ENV DB_HOSTNAME='localhost'