Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +2 -0
Dockerfile
CHANGED
|
@@ -15,6 +15,8 @@ COPY . /app/
|
|
| 15 |
RUN python manage.py makemigrations accounts && \
|
| 16 |
python manage.py migrate
|
| 17 |
|
|
|
|
|
|
|
| 18 |
# إنشاء مستخدم سوبر تلقائيًا
|
| 19 |
ARG SUPERUSER_NAME=s1
|
| 20 |
ARG SUPERUSER_EMAIL=s1@gmail.com
|
|
|
|
| 15 |
RUN python manage.py makemigrations accounts && \
|
| 16 |
python manage.py migrate
|
| 17 |
|
| 18 |
+
RUN chmod 666 /app/db.sqlite3
|
| 19 |
+
|
| 20 |
# إنشاء مستخدم سوبر تلقائيًا
|
| 21 |
ARG SUPERUSER_NAME=s1
|
| 22 |
ARG SUPERUSER_EMAIL=s1@gmail.com
|