Skip to content

Commit d5ee7f4

Browse files
authored
Updated dockerfile
Signed-off-by: Srijan-SS02 <[email protected]>
1 parent cf4d098 commit d5ee7f4

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

Dockerfile

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,15 @@ FROM python:3.9-slim-buster
22

33
WORKDIR /app
44

5-
COPY requirements.txt requirements.txt
5+
RUN apt-get update && \
6+
apt-get install -y --no-install-recommends git openssh-client && \
7+
rm -rf /var/lib/apt/lists/*
8+
9+
10+
COPY . /app
11+
12+
RUN --mount=type=ssh git submodule update --init --recursive
13+
614
RUN pip3 install -r requirements.txt
715

816
COPY . .

0 commit comments

Comments
 (0)