Skip to content

Commit d3aa8c8

Browse files
committed
refactor(appcontainer): keep and copy git directory for version metadata
1 parent 6921e20 commit d3aa8c8

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.dockerignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
.git/
21
.github/
32
.vscode/
43
**/__pycache__/

appcontainer/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ RUN python -m pip install --upgrade pip
77
COPY appcontainer/nginx.conf /etc/nginx/nginx.conf
88
COPY appcontainer/proxy.conf /calitp/run/proxy.conf
99

10+
# copy files needed for version metadata
11+
COPY .git .git
12+
1013
# copy source files
1114
COPY manage.py manage.py
1215
COPY bin bin

0 commit comments

Comments
 (0)