discourse/bin/docker/bundle

6 lines
181 B
Bash
Executable File

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