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"]