IngWeb / Dockerfile
chartManD's picture
Update Dockerfile
d60f69e verified
raw
history blame
428 Bytes
# Definir la imagen
FROM debian:12.10
# Instalar Python y venv para entornos virtuales
RUN apt -y update
RUN apt install -y source python3 python3.11-venv
# 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 source django/bin/activate
# Instalar DJango
RUN python3 -m pip install Django==5.1.7