From 073d5e4b9ac013ea2d0f087138e945f2996e77bb Mon Sep 17 00:00:00 2001 From: Ammaar Limbada Date: Fri, 28 Feb 2025 15:47:15 +0000 Subject: [PATCH] compile assets at build time --- .copilot/image_build_run.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.copilot/image_build_run.sh b/.copilot/image_build_run.sh index 34b1c3aba..e443ae56e 100755 --- a/.copilot/image_build_run.sh +++ b/.copilot/image_build_run.sh @@ -10,3 +10,7 @@ cp -r /workspace/db/ /workspace/db-copy/ rm -rf /workspace/tmp rm -rf /workspace/db rm -rf /workspace/log + +export TMPDIR=/workspace/tmp + +bundle exec rails assets:precompile \ No newline at end of file