POS_untels / Dockerfile
JairoDanielMT's picture
Upload 3 files
b9abe0d verified
raw
history blame contribute delete
362 Bytes
# Usa una imagen base de Python
FROM python:3.9
# Establece el directorio de trabajo
WORKDIR /code
# Copia los archivos necesarios al contenedor
COPY ./requirements.txt /code/requirements.txt
RUN pip install --no-cache-dir -r /code/requirements.txt
COPY . .
RUN chmod -R 777 /code
# Comando para ejecutar la aplicación
CMD ["python", "app.py"]