Update Dockerfile
Browse files- Dockerfile +8 -1
Dockerfile
CHANGED
|
@@ -9,4 +9,11 @@ RUN apt install -y python3
|
|
| 9 |
RUN which python || which python3 || which py
|
| 10 |
|
| 11 |
# Version Python
|
| 12 |
-
RUN python3 --version
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 9 |
RUN which python || which python3 || which py
|
| 10 |
|
| 11 |
# Version Python
|
| 12 |
+
RUN python3 --version
|
| 13 |
+
|
| 14 |
+
# Activar el entorno virutal
|
| 15 |
+
RUN python3 -m venv django
|
| 16 |
+
RUN source django/bin/activate
|
| 17 |
+
|
| 18 |
+
# Instalar DJango
|
| 19 |
+
RUN python3 -m pip install Django==5.1.7
|