From 731b2bca83b1e8c0568ef5e6195a91466b4cbfe3 Mon Sep 17 00:00:00 2001 From: Giacomo Licari Date: Thu, 7 Mar 2024 12:19:23 +0100 Subject: [PATCH] dockerignore refactory --- api/.dockerignore | 32 ++++++++------------------------ 1 file changed, 8 insertions(+), 24 deletions(-) diff --git a/api/.dockerignore b/api/.dockerignore index ce4fbe7..cd595a4 100644 --- a/api/.dockerignore +++ b/api/.dockerignore @@ -1,24 +1,8 @@ -# Exclude migrations folder -!/migrations/ -# Python -__pycache__ -*.pyc -*.pyo -*.pyd -.Python -env -.env -pip-log.txt -pip-delete-this-directory.txt -.tox -.coverage -.coverage.* -.cache -nosetests.xml -coverage.xml -*.cover -*.log -.git -.mypy_cache -.pytest_cache -.hypothesis \ No newline at end of file +# Ignore everything +* + +# Allow files and directories +!/api +!/scripts +!/migrations +!/requirements.txt \ No newline at end of file