diff --git a/Dockerfile b/Dockerfile index 60e5f24..dcf2a64 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,19 +6,20 @@ ARG DEBIAN_FRONTEND=noninteractive LABEL org.opencontainers.image.authors="Sebastian Sasu , Cristian Magherusan-Stanciu , Brooke McKim " -RUN apt-get update -RUN apt-get install -y python3 pip locales -RUN apt-get install -y nodejs -RUN apt-get install -y npm +RUN apt-get update && \ + apt-get install -y python3 pip locales \ + nodejs \ + npm && \ + rm -rf /var/lib/apt/lists/* RUN npm install --global sass -RUN python3 -m pip install -U pip setuptools +RUN python3 -m pip install --no-cache-dir -U pip setuptools RUN locale-gen "en_US.UTF-8" WORKDIR /opt/app COPY . . -RUN pip3 install -r requirements.txt +RUN pip3 install --no-cache-dir -r requirements.txt RUN invoke build EXPOSE 8080