include git to make akkoma work as a submodule

This commit is contained in:
Kegan Myers 2023-07-23 03:32:04 -05:00
parent 4e90652410
commit d867e74ffb
2 changed files with 3 additions and 1 deletions

View file

@ -1,3 +1,4 @@
*
!.git
!akkoma
!prod.exs

View file

@ -3,7 +3,8 @@ FROM registry.nrd.li/nrdli/akkoma-base:${AKKOMA_COMMIT}
ENV PROD_SECRET_FILE=/config/prod.secret.exs
ADD akkoma /opt/akkoma/
ADD akkoma /opt/akkoma
ADD .git /opt/.git
ADD prod.exs /opt/akkoma/config/prod.exs
USER root