Put commit hash and build time on admin page

This commit is contained in:
2017-02-17 12:15:37 +00:00
parent a880a5f2bc
commit a5ea6dc035
4 changed files with 45 additions and 0 deletions

View File

@@ -32,6 +32,8 @@ RUN curl https://api.rollbar.com/api/1/deploy/ \
-F revision=$(git log -n 1 --pretty=format:"%H") \
-F local_username="$(git log -n 1 --pretty=format:"%an")"
RUN node setup.js
WORKDIR /usr/src/app/build
CMD [ "node", "server.js" ]