From 0aca194ee7b8b1bc9e92620207fd9b16a104711d Mon Sep 17 00:00:00 2001 From: aisayo Date: Tue, 17 Oct 2023 18:26:52 -0400 Subject: [PATCH] updated docker configurations to watch assets Co-authored-by: FionaDL fionadlapham@gmail.com --- Procfile.dev | 2 +- docker-compose.yml | 2 +- docker-entrypoint.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Procfile.dev b/Procfile.dev index 2b0b260fab..f178d81618 100644 --- a/Procfile.dev +++ b/Procfile.dev @@ -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 diff --git a/docker-compose.yml b/docker-compose.yml index 3d6e6f0f9d..1bd5bf9306 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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" diff --git a/docker-entrypoint.sh b/docker-entrypoint.sh index 3380469043..5b7ccd7925 100755 --- a/docker-entrypoint.sh +++ b/docker-entrypoint.sh @@ -5,4 +5,4 @@ if [ -f tmp/pids/server.pid ]; then rm tmp/pids/server.pid fi -exec bundle exec "$@" \ No newline at end of file +exec "$@" \ No newline at end of file