Skip to content

Commit

Permalink
Update .dockerignore
Browse files Browse the repository at this point in the history
Adds .gitignore files.
Dramatically improves an image build in a development context.
  • Loading branch information
jbaptperez committed Nov 22, 2024
1 parent 20d5c66 commit 981bb5f
Showing 1 changed file with 44 additions and 0 deletions.
44 changes: 44 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,47 @@
# Files to ignore by Docker when transfering context

**/.git
/docs/
/notebooks/

# Back-up files
**/*~
**/*.swp

# Generic auto-generated build files
**/*.pyc
**/*.pyo
**/.ipynb_checkpoints/

# Specific auto-generated build files
/.eggs
/.tox
**/__pycache__
/api_client/python/build/
/cli_client/python/build/
/importer_client/python/build/
**/dependencies/
/*.egg-info

# Ignore frontend build related files
**/node_modules
/timesketch/static/dist
/timesketch/frontend/dist
/timesketch/frontend/yarn.lock

# Test files
**/.coverage
**/tests-coverage.txt

# Exclude Vagrant runtime files
/vagrant/.vagrant/
/vagrant/*.log

# Exclude .venv folder
/.venv/

# Exclude Visual Studio Code files
/.vscode/*

# Exclude JetBrains IDE files
/.idea/

0 comments on commit 981bb5f

Please sign in to comment.