From 22aec163d2144c0d13ec9dc7536d74b0c6818d43 Mon Sep 17 00:00:00 2001 From: George Date: Tue, 4 Aug 2026 10:05:20 -0500 Subject: [PATCH] dokerfile finales --- .dockerignore | 1 + Dockerfile | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.dockerignore b/.dockerignore index 3795cd6..0e3a4b5 100644 --- a/.dockerignore +++ b/.dockerignore @@ -2,6 +2,7 @@ validar-venv/ __pycache__/ logs/ .git/ +.gitignore .env .env.* .DS_Store diff --git a/Dockerfile b/Dockerfile index 9fa16af..e1ba196 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,8 +10,8 @@ RUN apt-get update \ WORKDIR /app COPY requirements.txt . -RUN pip install --no-cache-dir -r requirements.txt +RUN pip install --upgrade pip --no-cache-dir && pip install --no-cache-dir -r requirements.txt -COPY main.py constants.py logger_utilities.py sunat_manager.py hana_manager.py sapb1_manager.py scheduler.json empresas.json ./ +COPY . . CMD ["python", "main.py"]