]> cat aescling's git repositories - mastodon.git/commitdiff
Add /mastodon/bin to $PATH (#7889)
authorYamagishi Kazutoshi <ykzts@desire.sh>
Mon, 25 Jun 2018 11:30:25 +0000 (20:30 +0900)
committerEugen Rochko <eugen@zeonfederated.com>
Mon, 25 Jun 2018 11:30:25 +0000 (13:30 +0200)
Dockerfile

index 5f17c5b89c29efec6140729b1a9e33b32ab1922b..ce489674cf7c7974b6ae3123a3d12398364e7ddf 100644 (file)
@@ -6,8 +6,10 @@ LABEL maintainer="https://github.com/tootsuite/mastodon" \
 ARG UID=991
 ARG GID=991
 
-ENV RAILS_SERVE_STATIC_FILES=true \
-    RAILS_ENV=production NODE_ENV=production
+ENV PATH=/mastodon/bin:$PATH \
+    RAILS_SERVE_STATIC_FILES=true \
+    RAILS_ENV=production \
+    NODE_ENV=production
 
 ARG YARN_VERSION=1.3.2
 ARG YARN_DOWNLOAD_SHA256=6cfe82e530ef0837212f13e45c1565ba53f5199eec2527b85ecbcd88bf26821d