Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitryrck committed Sep 29, 2024
1 parent 2717d79 commit c903f41
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ RUN if [ "$RAILS_ENV" = "production" ]; then \
bundle config set --local without 'development test' \
&& bundle install \
&& yarn install \
&& bundle exec rake assets:precompile \
&& bundle exec rake assets:precompile ; \
fi

EXPOSE ${PORT:-3000}
Expand Down
5 changes: 4 additions & 1 deletion docker-compose.yml.sample
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,10 @@ services:
- "5432"

app:
build: .
build:
context: .
args:
RAILS_ENV: test
volumes:
- .:/app
- bundle_path:/usr/local/bundle
Expand Down

0 comments on commit c903f41

Please sign in to comment.