Spaces:
Build error
Build error
Config Dockerfile, correccion de nombre manage
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
|
@@ -17,11 +17,11 @@ RUN ls -lah
|
|
| 17 |
COPY . .
|
| 18 |
RUN ls -lah
|
| 19 |
|
| 20 |
-
RUN python
|
| 21 |
# RUN python manage.py tailwind build
|
| 22 |
# RUN python manage.py collectstatic --noinput
|
| 23 |
|
| 24 |
-
RUN python
|
| 25 |
|
| 26 |
EXPOSE 7860
|
| 27 |
|
|
|
|
| 17 |
COPY . .
|
| 18 |
RUN ls -lah
|
| 19 |
|
| 20 |
+
RUN python manage.py migrate
|
| 21 |
# RUN python manage.py tailwind build
|
| 22 |
# RUN python manage.py collectstatic --noinput
|
| 23 |
|
| 24 |
+
RUN python manage.py shell < create_superuser.py
|
| 25 |
|
| 26 |
EXPOSE 7860
|
| 27 |
|