We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 0c7da29 + 3783553 commit c1a2855Copy full SHA for c1a2855
Dockerfile
@@ -7,6 +7,12 @@ WORKDIR /app
7
# Copy the current directory contents into the container at /app
8
COPY . /app
9
10
+RUN apt-get update && \
11
+ apt-get install -y --no-install-recommends git openssh-client && \
12
+ rm -rf /var/lib/apt/lists/*
13
+
14
+RUN --mount=type=ssh git submodule update --init --recursive
15
16
# Install any needed packages specified in requirements.txt
17
RUN pip install --no-cache-dir -r requirements.txt
18
@@ -18,5 +24,4 @@ ENV FLASK_APP=wsgi.py
24
ENV FLASK_RUN_HOST=0.0.0.0
19
25
20
26
# Run the application
21
-CMD ["flask", "run"]
22
-
27
+CMD ["flask", "run"]
0 commit comments