about summary refs log tree commit diff
path: root/Dockerfile
diff options
context:
space:
mode:
authorYamagishi Kazutoshi <ykzts@desire.sh>2018-06-25 20:30:25 +0900
committerEugen Rochko <eugen@zeonfederated.com>2018-06-25 13:30:25 +0200
commit097fd449780729b521e28fd1d69cb2128a26c707 (patch)
treec062df50133efca1ec00b717dcc49bac077c5ce5 /Dockerfile
parent11a7f725da5129fb430b2d99e05cd160a506cbb2 (diff)
Add /mastodon/bin to $PATH (#7889)
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile6
1 files changed, 4 insertions, 2 deletions
diff --git a/Dockerfile b/Dockerfile
index 5f17c5b89..ce489674c 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -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