diff --git a/.build_version b/.build_version new file mode 100644 index 0000000..e69de29 diff --git a/Dockerfile b/Dockerfile index bc263ee..c0f0c4b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -124,4 +124,6 @@ RUN chown -R app:app /app/tmp /app/log /app/storage USER app # Using variables in command list is not possible: # https://stackoverflow.com/questions/40454470/how-can-i-use-a-variable-inside-a-dockerfile-cmd -CMD [ "rails", "server", "--binding", "0.0.0.0", "--no-daemon", "--port" , "3000" ] \ No newline at end of file +CMD [ "rails", "server", "--binding", "0.0.0.0", "--no-daemon", "--port" , "3000" ] + +RUN date -u +"%Y-%m-%d %H:%M:%s" >> .build_version \ No newline at end of file diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb index 3337c89..a43501c 100644 --- a/app/views/layouts/application.html.erb +++ b/app/views/layouts/application.html.erb @@ -18,5 +18,6 @@
<%= yield %>
+