Skip to content

Commit

Permalink
Open bash in the app directory
Browse files Browse the repository at this point in the history
Don't make me navigate to the app dir first all the time. That's where I
have to go 99% of the time.
  • Loading branch information
tombruijn committed Aug 23, 2024
1 parent b701a47 commit 34143b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ namespace :app do
task :bash do
@app = get_app
puts "Starting bash in #{@app}"
run_command "cd #{@app} && docker-compose exec app /bin/bash"
run_command "cd #{@app} && docker-compose exec --workdir /app app /bin/bash"
end

desc "Attach to app and get a console"
Expand Down

0 comments on commit 34143b5

Please sign in to comment.