From 7fafedc844b2917a8ffcc56df40271bbb93ebe5f Mon Sep 17 00:00:00 2001 From: Srijan-SS02 Date: Fri, 3 Jan 2025 16:01:11 +0530 Subject: [PATCH] Updated dockerfile Signed-off-by: Srijan-SS02 --- Dockerfile | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index a4aada1..3850180 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,7 +2,15 @@ FROM python:3.9-slim-buster WORKDIR /app -COPY requirements.txt requirements.txt +RUN apt-get update && \ + apt-get install -y --no-install-recommends git openssh-client && \ + rm -rf /var/lib/apt/lists/* + + +COPY . /app + +RUN --mount=type=ssh git submodule update --init --recursive + RUN pip3 install -r requirements.txt COPY . .