Skip to content

Commit

Permalink
LTI-362: fix issue with assets noe being correctly compiled (#308)
Browse files Browse the repository at this point in the history
  • Loading branch information
jfederico authored May 1, 2024
1 parent 09e9a84 commit 2547a37
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ tmp
/db/**/*.sqlite3
/db/**/*.sqlite3-journal
/db/production
public/assets
public/b
/public/assets
/public/rooms/assets
coverage/
.rvmrc
vendor/bundle
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ ENV PORT=${PORT:-3000}
EXPOSE ${PORT}

# Precompile assets
RUN SECRET_KEY_BASE=1 RAILS_ENV=${RAILS_ENV:-production} bundle exec rake assets:precompile --trace
RUN SECRET_KEY_BASE=1 RAILS_ENV=${RAILS_ENV:-production} RELATIVE_URL_ROOT=${RELATIVE_URL_ROOT:-apps} bundle exec rake assets:precompile --trace

# Run startup command
CMD ["scripts/start.sh"]
1 change: 0 additions & 1 deletion scripts/start.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#!/bin/sh


PORT="${PORT:=3000}"

echo ">>> LTI broker starting on port: $PORT"
Expand Down

0 comments on commit 2547a37

Please sign in to comment.