Skip to content

Commit

Permalink
set SASS container to build from dev dockerfile not production one; f…
Browse files Browse the repository at this point in the history
…ix adoption applications error - missing permitted param
  • Loading branch information
kasugaijin committed Dec 17, 2024
1 parent 557f806 commit 0fb02e5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@ def application_params
:pet_id,
:form_submission_id,
:status,
:profile_show
:profile_show,
:person_id
)
end
end
5 changes: 3 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ services:
command: bash -c "rm -f tmp/pids/server.pid && bundle install && bundle exec rails s -b '0.0.0.0'"
volumes:
- .:/petrescue

ports:
- "3000:3000"
depends_on:
Expand All @@ -33,7 +32,9 @@ services:
tty: true

sass:
build: .
build:
context: .
dockerfile: dockerfile.dev
command: bash -c "bundle install && bundle exec rails dartsass:watch"
volumes:
- .:/petrescue
Expand Down

0 comments on commit 0fb02e5

Please sign in to comment.