File size: 622 Bytes
b75f811 8e6f2c7 7491702 6f1c61d b75f811 5e42ec1 b75f811 64a6308 d99e77e 64a6308 bfdedab b75f811 5e42ec1 032be5e 5e42ec1 353b0fb 5e42ec1 353b0fb 5e42ec1 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 |
# Definir la imagen
FROM debian:12.10
# Instalar Python y venv para entornos virtuales
RUN apt -y update
RUN apt install -y python3 python3-pip python3-django
RUN python3 -m django --version
# Pasos del tutorial de DJango
#RUN mkdir djangotutorial
#RUN django-admin startproject miSitio djangotutorial
#RUN cd djangotutorial
#RUN ls -l
# Verificar si python esta instalado
# RUN which python || which python3 || which py
# Version Python
# RUN python3 --version
# Activar el entorno virutal
# RUN python3 -m venv django
# RUN python3 django/bin/activate
# Instalar DJango
# RUN python3 -m pip install Django==5.1.7
|