diff options
author | Starfall <us@starfall.systems> | 2020-07-01 16:25:03 -0500 |
---|---|---|
committer | Starfall <us@starfall.systems> | 2020-07-03 19:54:39 -0500 |
commit | de293f77a8c9921baa7de09549741a71399df965 (patch) | |
tree | bcbff42f74559f057c75e2000389d04c6d725a38 /Dockerfile | |
parent | 9b8ab85007cc9b527ba8c59a3624731cd8e46ffe (diff) |
Add commit hash to displayed version number
Also includes a few tweaks to the README
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile index 68d847a69..78e4daf9e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -127,6 +127,9 @@ ENV BIND="0.0.0.0" USER mastodon +ARG SOURCE_COMMIT +ENV SOURCE_TAG $SOURCE_COMMIT + # Precompile assets RUN cd ~ && OTP_SECRET=_ SECRET_KEY_BASE=_ rails assets:precompile --trace && yarn cache clean |