mirror of
https://github.com/wrabit/django-cotton.git
synced 2025-08-04 15:18:20 +00:00
remove container version of cotton after build to keep local version active
This commit is contained in:
parent
bdbe3d51c3
commit
487c74f60a
1 changed files with 3 additions and 0 deletions
|
@ -34,4 +34,7 @@ RUN poetry config virtualenvs.create false \
|
|||
|
||||
RUN SECRET_KEY=dummy STATIC_URL='/staticfiles/' python manage.py collectstatic --noinput --verbosity 2
|
||||
|
||||
# Now uninstall with poetry the container version of django-cotton, leaving the local version when we're developing
|
||||
RUN poetry remove django-cotton
|
||||
|
||||
CMD [ "python", "manage.py", "runserver", "0.0.0.0:8000" ]
|
Loading…
Add table
Add a link
Reference in a new issue