chartManD commited on
Commit
5e42ec1
·
verified ·
1 Parent(s): 62302c4

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +6 -6
Dockerfile CHANGED
@@ -3,17 +3,17 @@ FROM debian:12.10
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
10
 
11
  # Version Python
12
- RUN python3 --version
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
 
3
 
4
  # Instalar Python y venv para entornos virtuales
5
  RUN apt -y update
6
+ RUN apt install -y python3 python3-pip python3-django
7
 
8
  # Verificar si python esta instalado
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 python3 django/bin/activate
17
 
18
  # Instalar DJango
19
+ # RUN python3 -m pip install Django==5.1.7