diff --git a/Dockerfile b/Dockerfile index 53f495c..7c4e752 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,6 +7,12 @@ 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/* + +RUN --mount=type=ssh git submodule update --init --recursive + # Install any needed packages specified in requirements.txt RUN pip install --no-cache-dir -r requirements.txt @@ -18,5 +24,4 @@ ENV FLASK_APP=wsgi.py ENV FLASK_RUN_HOST=0.0.0.0 # Run the application -CMD ["flask", "run"] - +CMD ["flask", "run"] \ No newline at end of file