简体   繁体   中英

Upgrade django in a dokku environment

I need to upgrade the version of django that is running in a dokku container.

I tried

dokku run staging pip install Django==1.8.18 --upgrade

But when I checked the django version it was still 1.8.13

I've also tried dokku ps:rebuild staging , also with no result.

How am I meant to do the upgrade?

You should update your requirements.txt and re-push your application. Containers created via the dokku run command are one-off, ephemeral containers.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM