diff --git a/.dockerignore b/.dockerignore index d9b8002c3..51d21e85c 100644 --- a/.dockerignore +++ b/.dockerignore @@ -1,5 +1,4 @@ .bundle -.git config/database.yml config/site.yml coverage diff --git a/Dockerfile b/Dockerfile index d17e68ca7..b770a1130 100644 --- a/Dockerfile +++ b/Dockerfile @@ -36,6 +36,8 @@ COPY lib /app/lib/ COPY app /app/app/ COPY db /app/db/ +COPY .git /app/.git + RUN RAILS_ENV=production bundle exec rake assets:precompile ENTRYPOINT ["/app/docker-entrypoint.sh"] diff --git a/app/views/shared/_footer.html.erb b/app/views/shared/_footer.html.erb index aac3178ef..f2fb09703 100644 --- a/app/views/shared/_footer.html.erb +++ b/app/views/shared/_footer.html.erb @@ -1,6 +1,7 @@