File tree 2 files changed +9
-3
lines changed
2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change 1
1
[submodule "shared_migrations "]
2
2
path = shared_migrations
3
- url = git@ github.com: Code4GovTech/shared-models-migrations.git
3
+ url = https:// github.com/ Code4GovTech/shared-models-migrations.git
Original file line number Diff line number Diff line change @@ -5,8 +5,15 @@ FROM python:3.12-slim
5
5
WORKDIR /app
6
6
7
7
# Copy the current directory contents into the container at /app
8
+
9
+ RUN apt-get update && \
10
+ apt-get install -y --no-install-recommends git openssh-client && \
11
+ rm -rf /var/lib/apt/lists/*
12
+
8
13
COPY . /app
9
14
15
+ RUN --mount=type=ssh git submodule update --init --recursive
16
+
10
17
# Install any needed packages specified in requirements.txt
11
18
RUN pip install --no-cache-dir -r requirements.txt
12
19
@@ -18,5 +25,4 @@ ENV FLASK_APP=wsgi.py
18
25
ENV FLASK_RUN_HOST=0.0.0.0
19
26
20
27
# Run the application
21
- CMD ["flask" , "run" ]
22
-
28
+ CMD ["flask" , "run" ]
You can’t perform that action at this time.
0 commit comments