From d867e74ffbf301915b0bfa60ceb1bc9e8854d9d7 Mon Sep 17 00:00:00 2001 From: Kegan Myers Date: Sun, 23 Jul 2023 03:32:04 -0500 Subject: [PATCH] include git to make akkoma work as a submodule --- .dockerignore | 1 + Dockerfile | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.dockerignore b/.dockerignore index 68e59cd..c9db6d2 100644 --- a/.dockerignore +++ b/.dockerignore @@ -1,3 +1,4 @@ * +!.git !akkoma !prod.exs diff --git a/Dockerfile b/Dockerfile index 5e06907..30276ba 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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