Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
|
@@ -3,7 +3,7 @@ FROM debian:12.10
|
|
| 3 |
|
| 4 |
# Instalar Python y venv para entornos virtuales
|
| 5 |
RUN apt -y update
|
| 6 |
-
RUN apt install -y
|
| 7 |
|
| 8 |
# Verificar si python esta instalado
|
| 9 |
RUN which python || which python3 || which py
|
|
@@ -13,7 +13,7 @@ RUN python3 --version
|
|
| 13 |
|
| 14 |
# Activar el entorno virutal
|
| 15 |
RUN python3 -m venv django
|
| 16 |
-
RUN
|
| 17 |
|
| 18 |
# Instalar DJango
|
| 19 |
RUN python3 -m pip install Django==5.1.7
|
|
|
|
| 3 |
|
| 4 |
# Instalar Python y venv para entornos virtuales
|
| 5 |
RUN apt -y update
|
| 6 |
+
RUN apt install -y python3 python3-pip python3.11-venv
|
| 7 |
|
| 8 |
# Verificar si python esta instalado
|
| 9 |
RUN which python || which python3 || which py
|
|
|
|
| 13 |
|
| 14 |
# Activar el entorno virutal
|
| 15 |
RUN python3 -m venv django
|
| 16 |
+
RUN python3 django/bin/activate
|
| 17 |
|
| 18 |
# Instalar DJango
|
| 19 |
RUN python3 -m pip install Django==5.1.7
|