From 6ca701f6fdad3fd596ce3ff2f5c33a5696613dcb Mon Sep 17 00:00:00 2001 From: Jyri-Petteri Paloposki Date: Mon, 21 Feb 2022 12:32:08 +0200 Subject: [PATCH] Fix the Git version in the footer with the Docker image and change the wording. --- .dockerignore | 1 - Dockerfile | 2 ++ app/views/shared/_footer.html.erb | 3 ++- config/initializers/tracks.rb | 10 +++------- config/locales/cs.yml | 3 ++- config/locales/de.yml | 3 ++- config/locales/en.yml | 3 ++- config/locales/es.yml | 3 ++- config/locales/fi.yml | 3 ++- config/locales/fr.yml | 3 ++- config/locales/he.yml | 3 ++- config/locales/nl.yml | 3 ++- config/locales/ru.yml | 3 ++- config/locales/tr.yml | 3 ++- doc/CHANGELOG.md | 1 + 15 files changed, 28 insertions(+), 19 deletions(-) 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 @@