Skip to content

Commit

Permalink
Use --rm in docker compose run commands
Browse files Browse the repository at this point in the history
  • Loading branch information
pool2win committed Aug 18, 2024
1 parent 67596f2 commit cad085a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,15 @@ dockerize:

# Run a script using local docker image
run script:
docker compose run {{image_name}} bundle exec ruby ./lib/run.rb -s {{script}}
docker compose run --rm {{image_name}} bundle exec ruby ./lib/run.rb -s {{script}}

# Run the test suite
test:
docker compose run {{image_name}} bin/rake spec
docker compose run --rm {{image_name}} bin/rake spec

# Get a bash shell on local docker image
bash:
docker compose run {{image_name}} bash
docker compose run --rm {{image_name}} bash

# Start jupyterlab
lab:
Expand Down

0 comments on commit cad085a

Please sign in to comment.