Update Dockerfile
Browse files- Dockerfile +6 -5
Dockerfile
CHANGED
|
@@ -5,13 +5,14 @@ FROM debian:12.10
|
|
| 5 |
RUN apt -y update
|
| 6 |
RUN apt install -y python3 python3-pip python3-django
|
| 7 |
|
| 8 |
-
RUN python3 -m django --version
|
| 9 |
|
| 10 |
# Pasos del tutorial de DJango
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
|
|
|
| 15 |
|
| 16 |
# Verificar si python esta instalado
|
| 17 |
# RUN which python || which python3 || which py
|
|
|
|
| 5 |
RUN apt -y update
|
| 6 |
RUN apt install -y python3 python3-pip python3-django
|
| 7 |
|
| 8 |
+
#RUN python3 -m django --version [3.2.19]
|
| 9 |
|
| 10 |
# Pasos del tutorial de DJango
|
| 11 |
+
RUN mkdir djangotutorial
|
| 12 |
+
RUN django-admin startproject miSitio djangotutorial
|
| 13 |
+
|
| 14 |
+
WORKDIR djangotutorial
|
| 15 |
+
RUN ls -l
|
| 16 |
|
| 17 |
# Verificar si python esta instalado
|
| 18 |
# RUN which python || which python3 || which py
|