From 677abc72dc717b044288c8c7a95ed6695c3b6e4d Mon Sep 17 00:00:00 2001 From: Srijan-SS02 Date: Fri, 3 Jan 2025 13:14:52 +0530 Subject: [PATCH] Updated dockerfile --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 7c4e752..258318d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,12 +5,13 @@ FROM python:3.12-slim WORKDIR /app # Copy the current directory contents into the container at /app -COPY . /app 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 # Install any needed packages specified in requirements.txt