Skip to content

Commit

Permalink
refactor(appcontainer): keep and copy git directory for version metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
lalver1 committed Jul 15, 2024
1 parent 19e0ffc commit 7b34f65
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 0 additions & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
.git/
.github/
.vscode/
**/__pycache__/
Expand Down
3 changes: 3 additions & 0 deletions appcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ RUN python -m pip install --upgrade pip
COPY appcontainer/nginx.conf /etc/nginx/nginx.conf
COPY appcontainer/proxy.conf /calitp/run/proxy.conf

# copy files needed for version metadata
COPY .git .git

# copy source files
COPY manage.py manage.py
COPY bin bin
Expand Down

0 comments on commit 7b34f65

Please sign in to comment.