Skip to content

Commit

Permalink
updated docker configurations to watch assets Co-authored-by: FionaDL…
Browse files Browse the repository at this point in the history
  • Loading branch information
aisayo committed Oct 18, 2023
1 parent 166be97 commit 0aca194
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Procfile.dev
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
web: bin/rails server -p 3000
web: bin/rails server -p 3000 -b 0.0.0.0
js: yarn build --watch
css: yarn build:css --watch
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ version: "3"
services:
web:
build: .
command: bundle exec rails s -b 0.0.0.0
command: bin/dev
ports:
- "3000:3000"
- "4000:4000"
Expand Down
2 changes: 1 addition & 1 deletion docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ if [ -f tmp/pids/server.pid ]; then
rm tmp/pids/server.pid
fi

exec bundle exec "$@"
exec "$@"

0 comments on commit 0aca194

Please sign in to comment.