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 . .