mirror of
https://github.com/discourse/discourse.git
synced 2024-11-30 11:25:07 +08:00
6 lines
191 B
Plaintext
6 lines
191 B
Plaintext
|
#!/bin/bash
|
||
|
|
||
|
PARAMS="$@"
|
||
|
CMD="cd /src && HOME=/home/discourse RAILS_ENV=${RAILS_ENV:=development} chpst -u discourse:discourse rake $PARAMS"
|
||
|
docker exec -it discourse_dev /bin/bash -c "$CMD"
|