suhaib0edu commited on
Commit
1ea7c6e
·
verified ·
1 Parent(s): ff21ba1

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -0
Dockerfile CHANGED
@@ -11,6 +11,10 @@ RUN pip install --no-cache-dir -r requirements.txt
11
  # نسخ ملفات المشروع إلى الحاوية
12
  COPY . /app/
13
 
 
 
 
 
14
  # إعداد منفذ Django الافتراضي
15
  EXPOSE 7860
16
 
 
11
  # نسخ ملفات المشروع إلى الحاوية
12
  COPY . /app/
13
 
14
+ RUN python manage.py makemigrations
15
+ RUN python manage.py migrate
16
+
17
+
18
  # إعداد منفذ Django الافتراضي
19
  EXPOSE 7860
20