-
Notifications
You must be signed in to change notification settings - Fork 3
WIP: Merge the tiny dockerization work into master #33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
and fix Dockerfile
… moved to the beginning.
onurgu
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Buna bir bakabilir misin?
aslında bu bir work-in-progress ama requirements.txt'teki zaten otomatik yüklenen şeyleri kaldırdım. sadeleşti.
requirements-phase1 ve phase2 docker compose ile ilgili
|
Gerekiyor olmasi @haozturk. Su anda testleri yaparken bastan sona temiz kurulum ile ilerlemeli. Aradaki tum puruzleri de gidermeye calisalim. |
|
Evet hocam, modeli open access yaptıktan sonra başka bir PR'da README'yi update'leriz. @uskudarli |
|
@onurgu Selam, phase 1 - phase2 durumu yerine poetry ya da pipenv gibi bi alet daha iyi sonuç verebilir gibi orada. Okay dersek, docker configini ona göre güncelleyebilirim. |
| @@ -0,0 +1,22 @@ | |||
| FROM python:3 | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Projenin spesifik olarak beklediği ya da sorun çıkardığı bir Python sürümü var mı?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Valla tam emin değilim ama 3 olsun demiştim
|
|
||
| COPY kanarya_config.json /etc/ | ||
|
|
||
| COPY . /game_project/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bunu komple kopyalamak yerine volume olarak bağlasak, yeniden derlemeden güncelleme şansı olur.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
olabilir bakarız
| COPY requirements-phase2.txt /game_project/ | ||
| RUN pip install -r requirements-phase2.txt | ||
|
|
||
| RUN python manage.py migrate --noinput |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ben bunu dışarıdan kullanıcıya bırakmayı tercih ediyorum. Otomatik yapınca, yayına alma ya da farklı kullanıcıların farklı branchlerde farklı migrationlarla çalışma durumlarına beklenmedik sonuçlar çıkabiliyor.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Migrate'i mi diyorsun?
No description provided.