From 01f7bc0e53f4304d29545326f0c45375370a1e82 Mon Sep 17 00:00:00 2001 From: Sajith Sasidharan Date: Tue, 28 Mar 2023 12:41:24 -0500 Subject: [PATCH] Consolidate consecutive `RUN` instructions --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 3dda5484..d8a11352 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,9 +4,9 @@ RUN apt-get update \ && apt-get -y upgrade \ && apt-get install -y --no-install-recommends gcc python3-dev git && \ && apt-get clean \ - && rm -rf /var/lib/apt/lists/* + && rm -rf /var/lib/apt/lists/* \ + && mkdir -p /usr/src/app -RUN mkdir -p /usr/src/app WORKDIR /usr/src/app COPY requirements.txt /usr/src/app/