discourse/bin/docker/rake

6 lines
164 B
Bash
Executable File

#!/bin/bash
PARAMS="$@"
CMD="cd /src && RAILS_ENV=${RAILS_ENV:=development} rake $PARAMS"
docker exec -it -u discourse:discourse discourse_dev /bin/bash -c "$CMD"