[FIX] Using wrong python version in new Dockerfile
This commit is contained in:
parent
2f38dd78e1
commit
a53e39a600
@ -93,7 +93,7 @@ show_help() {
|
||||
environment, fetch git repository and install
|
||||
Python dependancies"
|
||||
echo -e " - migrate Launch migration command:
|
||||
python manage.py migrate"
|
||||
python3 manage.py migrate"
|
||||
echo -e " - psql Enter PSQL database via psql command"
|
||||
echo -e " - restore dump Restore the given dump"
|
||||
echo -e " - start [arg ...] Launch Gissmo Docker container
|
||||
@ -248,7 +248,7 @@ test_migrate() {
|
||||
|
||||
migrate() {
|
||||
test_migrate
|
||||
$docker_cmd run -it --rm --link ${POSTGRES_DOCKER_NAME}:db gissmo:${GISSMO_VERSION} python manage.py migrate || error_and_quit "Failed to launch Gissmo migration."
|
||||
$docker_cmd run -it --rm --link ${POSTGRES_DOCKER_NAME}:db gissmo:${GISSMO_VERSION} python3 manage.py migrate || error_and_quit "Failed to launch Gissmo migration."
|
||||
}
|
||||
|
||||
test_restore() {
|
||||
|
Loading…
Reference in New Issue
Block a user