mirror of
https://github.com/eduardogsilva/wireguard_webadmin.git
synced 2026-01-01 06:16:16 +00:00
Update ignore rules and sync .dockerignore with .gitignore during build
This commit is contained in:
38
.dockerignore
Normal file
38
.dockerignore
Normal file
@@ -0,0 +1,38 @@
|
|||||||
|
build_and_push_multi.sh
|
||||||
|
*.code-workspace
|
||||||
|
containers/*/.venv
|
||||||
|
db.sqlite3
|
||||||
|
db.sqlite3-journal
|
||||||
|
*.egg
|
||||||
|
*.egg-info/
|
||||||
|
.eggs/
|
||||||
|
.env
|
||||||
|
env/
|
||||||
|
ENV/
|
||||||
|
env.bak/
|
||||||
|
.history
|
||||||
|
.idea
|
||||||
|
.idea/
|
||||||
|
.idea_modules/
|
||||||
|
*.iml
|
||||||
|
.installed.cfg
|
||||||
|
*.ipr
|
||||||
|
.ipynb_checkpoints
|
||||||
|
*.iws
|
||||||
|
.junie/
|
||||||
|
local_settings.py
|
||||||
|
*.log
|
||||||
|
media/
|
||||||
|
*.pot
|
||||||
|
*.pyc
|
||||||
|
*__pycache__/
|
||||||
|
__pycache__/
|
||||||
|
*.pyd
|
||||||
|
*.pyo
|
||||||
|
.venv
|
||||||
|
/.venv
|
||||||
|
venv/
|
||||||
|
venv.bak/
|
||||||
|
.vscode/
|
||||||
|
/.vscode
|
||||||
|
wireguard_webadmin/production_settings.py
|
||||||
@@ -11,6 +11,7 @@ IMAGES=(
|
|||||||
build_images() {
|
build_images() {
|
||||||
echo "=========================================================================================="
|
echo "=========================================================================================="
|
||||||
echo "========== Starting the build of the images..."
|
echo "========== Starting the build of the images..."
|
||||||
|
cat .gitignore > .dockerignore
|
||||||
docker compose -f docker-compose-build.yml build
|
docker compose -f docker-compose-build.yml build
|
||||||
if [ $? -eq 0 ]; then
|
if [ $? -eq 0 ]; then
|
||||||
echo "Build completed successfully."
|
echo "Build completed successfully."
|
||||||
|
|||||||
Reference in New Issue
Block a user