Skip to content

Commit c1a2855

Browse files
2 parents 0c7da29 + 3783553 commit c1a2855

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

Dockerfile

+7-2
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@ WORKDIR /app
77
# Copy the current directory contents into the container at /app
88
COPY . /app
99

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+
1016
# Install any needed packages specified in requirements.txt
1117
RUN pip install --no-cache-dir -r requirements.txt
1218

@@ -18,5 +24,4 @@ ENV FLASK_APP=wsgi.py
1824
ENV FLASK_RUN_HOST=0.0.0.0
1925

2026
# Run the application
21-
CMD ["flask", "run"]
22-
27+
CMD ["flask", "run"]

0 commit comments

Comments
 (0)