Skip to content

Commit

Permalink
Add licenses to container image (#146)
Browse files Browse the repository at this point in the history
  • Loading branch information
samdoran authored Nov 6, 2024
1 parent d54a42a commit 9d2b94c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@
**

# ... except for dependencies and source
!costemailer/
!LICENSE
!Pipfile
!Pipfile.lock
!send_email.py
!costemailer/

# keep the test files out of the final image
**/*test*
Expand Down
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,8 @@ ENV \
COPY costemailer costemailer
COPY send_email.py .

COPY LICENSE /licenses/MIT.txt

# create the koku user
RUN \
adduser koku -u ${USER_ID} -g 0 && \
Expand Down

0 comments on commit 9d2b94c

Please sign in to comment.