File tree Expand file tree Collapse file tree 2 files changed +9
-3
lines changed
Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change 11[submodule "shared_migrations "]
22 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
55WORKDIR /app
66
77# 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+
813COPY . /app
914
15+ RUN --mount=type=ssh git submodule update --init --recursive
16+
1017# Install any needed packages specified in requirements.txt
1118RUN pip install --no-cache-dir -r requirements.txt
1219
@@ -18,5 +25,4 @@ ENV FLASK_APP=wsgi.py
1825ENV FLASK_RUN_HOST=0.0.0.0
1926
2027# Run the application
21- CMD ["flask" , "run" ]
22-
28+ CMD ["flask" , "run" ]
You can’t perform that action at this time.
0 commit comments