about summary refs log tree commit diff
path: root/Dockerfile
diff options
context:
space:
mode:
authorReverite <github@reverite.sh>2019-09-20 15:52:02 -0700
committerReverite <github@reverite.sh>2019-09-20 15:52:02 -0700
commit6f79532b73abe92103e1063d9bcc9b584887bcf3 (patch)
treeb6a0702ba8e5838dbaa3970fb361f058e125c770 /Dockerfile
parent822c904bc99176c5db7209e4c32e5b1257c1f7e3 (diff)
Oops
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Dockerfile b/Dockerfile
index c5225f7bb..9ad80c0de 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -115,7 +115,7 @@ ENV BIND="0.0.0.0"
 USER mastodon
 
 # Precompile assets
-RUN OTP_SECRET=_ SECRET_KEY_BASE=_ rails assets:precompile && yarn cache clean
+RUN cd ~ && OTP_SECRET=_ SECRET_KEY_BASE=_ rails assets:precompile && yarn cache clean
 
 # Empty temporary files
 USER root