Skip to content

Commit 8767d29

Browse files
author
David Zuckerman
committed
moving back to /opt/app in prod to precompile assets
1 parent 54d6d86 commit 8767d29

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,7 @@ RUN yarn build
180180
# Pre-compile assets so we don't have to do it after deployment.
181181
# NOTE: dummy SECRET_KEY_BASE to prevent spurious initializer issues
182182
# -- see https://github.com/rails/rails/issues/32947
183+
WORKDIR /opt/app
183184
RUN SECRET_KEY_BASE=1 rails assets:precompile --trace
184185

185186
# ------------------------------------------------------------

0 commit comments

Comments
 (0)